/* The FAQ directory is independent of the currently selected share tab. */
.share-faq-icon{display:inline-block;flex:none;width:16px;height:16px;background:currentColor;-webkit-mask:var(--faq-icon) center/contain no-repeat;mask:var(--faq-icon) center/contain no-repeat}
.public-body .share-faq-trigger{position:fixed;z-index:60;right:20px;bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:6px;height:38px;min-height:38px;padding:0 12px;border:1px solid #007aff;border-radius:20px;background:#007aff;color:#fff;font-size:13px;font-weight:500;box-shadow:0 3px 14px #007aff22;touch-action:none;user-select:none;cursor:grab}
.public-body .share-faq-trigger:active{cursor:grabbing}
.public-body .share-faq-trigger[hidden],.share-faq-overlay[hidden],.share-faq-image-overlay[hidden]{display:none}
.share-faq-trigger:before{content:'';position:absolute;inset:-3px}
.share-faq-overlay{position:fixed;inset:0;z-index:260;display:flex;align-items:center;justify-content:center;padding:24px;background:#17223838;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.share-faq-panel{display:flex;flex-direction:column;width:440px;max-width:100%;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:20px;border:1px solid var(--ios-line,#e8e8ed);border-radius:24px;background:var(--ios-panel,#fff);color:var(--ios-text,#1d1d1f);box-shadow:0 20px 70px #17223824}
.share-faq-head{display:flex;align-items:center;gap:10px;flex:none;min-width:0;touch-action:none;cursor:grab;margin-bottom:16px}
.share-faq-head>.share-faq-icon{width:30px;height:30px;padding:7px;background:#007aff;-webkit-mask-size:17px;mask-size:17px}
.share-faq-heading{flex:1;min-width:0}
.share-faq-heading h2{margin:0;font-size:18px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.share-faq-heading p{margin:4px 0 0;font-size:12px;color:var(--ios-sub,#71829d)}
.share-faq-close{display:grid;place-items:center;flex:none;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:50%;background:var(--ios-fill,#f3f5f9);color:var(--ios-sub,#71829d);font-size:21px;line-height:1}
.share-faq-body{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.share-faq-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.share-faq-topic{display:flex;align-items:center;gap:7px;min-width:0;min-height:38px;padding:9px 11px;border:0;border-radius:18px;background:var(--ios-fill,#f2f6fb);color:var(--ios-text,#46576e);font:inherit;font-size:13px;text-align:left;line-height:1.5}
.share-faq-topic span:last-child{min-width:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.share-faq-topic .share-faq-icon{width:15px;height:15px;color:#718aaa}
.share-faq-topic:hover{background:var(--ios-bluefill,#eaf3ff);color:#007aff}
.public-body .share-faq-topic{font-size:13px;line-height:1.5}
.share-faq-question{margin:0 0 10px;font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.share-faq-answer{margin:0;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.share-faq-media{display:grid;gap:12px;margin-top:14px}
.share-faq-media img,.share-faq-media video{display:block;width:100%;max-height:380px;height:auto;object-fit:contain;border-radius:12px;background:var(--ios-fill,#f5f7fa)}
.share-faq-media button{padding:0;border:0;background:none;cursor:zoom-in}
.share-faq-media small{display:block;margin-top:5px;color:var(--ios-sub,#71829d);font-size:12px}
.share-faq-footer{display:flex;gap:8px;flex:none;padding-top:18px;flex-wrap:wrap}
.share-faq-footer button{display:flex;align-items:center;gap:5px;min-height:34px;padding:7px 13px;border:0;border-radius:18px;background:#007aff;color:#fff;font:inherit;font-size:13px}
.share-faq-footer button[data-faq-back]{background:var(--ios-fill,#edf3fa);color:#007aff}
.share-faq-footer button[hidden]{display:none}
.public-body .share-faq-footer button{font-size:13px;line-height:1.5}
.share-faq-image-overlay{position:fixed;inset:0;z-index:280;background:#121722ed;display:flex;flex-direction:column;padding:16px}
.share-faq-image-toolbar{display:flex;align-items:center;gap:10px;flex:none;color:#fff;margin-bottom:16px}
.share-faq-image-toolbar span{flex:1;font-size:14px}
.share-faq-image-toolbar button{padding:8px 12px;min-height:38px;border:1px solid #ffffff40;border-radius:10px;background:#ffffff12;color:#fff}
.share-faq-image-scroll{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;overscroll-behavior:contain}
.share-faq-image-scroll img{max-width:100%;max-height:100%;object-fit:contain}
.share-faq-image-scroll.zoomed{display:block}.share-faq-image-scroll.zoomed img{max-width:none;max-height:none;min-width:100%;margin:0 auto}
.faq-modal-open{overflow:hidden!important}
@media(max-width:699px){.share-faq-overlay{padding:16px}.share-faq-panel{width:400px;padding:18px;border-radius:23px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}.share-faq-head{cursor:default}.public-body .share-faq-trigger{right:14px;bottom:max(16px,env(safe-area-inset-bottom))}.share-faq-topic{padding:9px 10px;font-size:12px}.share-faq-image-overlay{padding:12px}}
@media(max-width:699px){.public-body .share-faq-topic{font-size:12px}}
@media(max-height:500px){.share-faq-panel{padding:14px}.share-faq-head{margin-bottom:10px}.share-faq-heading p{display:none}.share-faq-footer{padding-top:10px;gap:6px}.share-faq-footer button,.public-body .share-faq-footer button{min-height:30px;font-size:11px;padding:6px 9px}.share-faq-heading h2{font-size:16px}}
@media(prefers-reduced-motion:no-preference){.share-faq-panel{animation:faq-panel-enter 180ms ease-out}@keyframes faq-panel-enter{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}}
