/* The reference styling is limited to the isolated interaction preview. */
.h5-body #dialog.h5-reference-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:85vh;padding:0;border:0;border-radius:0;background:transparent;color:#333;box-shadow:none;overflow:visible;font:16px "PingFang SC","Microsoft YaHei",sans-serif;line-height:normal}
.h5-body #dialog.h5-reference-sheet[open]{display:flex;flex-direction:column}
.h5-body #dialog.h5-reference-sheet .review-sheet-content{min-height:0;max-height:85vh;display:flex;flex-direction:column;background:#fff;border-radius:24px 24px 0 0;overflow:hidden}
.h5-body #dialog.h5-reference-sheet::backdrop{background:rgba(0,0,0,.45);backdrop-filter:none}
.h5-body #dialog.h5-reference-sheet .modal-head{position:static;z-index:auto;flex:none;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #f2f2f2;background:#fff}
.h5-body #dialog.h5-reference-sheet .modal-head h2{margin:0;font-size:17px;font-weight:700;line-height:normal;color:#333}
.h5-body #dialog.h5-reference-sheet .modal-head button{width:32px;height:32px;min-width:0;min-height:0;margin:0;border:0;background:#f2f2f2;border-radius:50%;font:22px/32px Arial,sans-serif;color:#999;padding:0}
.h5-body #dialog.h5-reference-sheet .modal-body{flex:1;min-height:0;max-height:none;display:block;overflow-y:auto;padding:16px 18px;color:#333;background:#fff;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.h5-body #dialog.h5-reference-sheet .modal-footer{position:static;z-index:auto;flex:none;display:flex;gap:10px;justify-content:stretch;padding:12px 18px 24px;border-top:1px solid #f2f2f2;background:#fff}
.h5-body #dialog.h5-reference-sheet .review-copy-card{background:#f8f9fa;border-radius:16px;padding:14px 16px;position:relative;margin-bottom:10px}
.h5-body #dialog.h5-reference-sheet .review-empty-state{padding:22px 16px;border-radius:16px;background:#f8f9fa;color:#666;font-size:14px;line-height:1.7;text-align:center}
.h5-body #dialog.h5-reference-sheet .review-copy-text{display:inline-block;width:100%;border:0;background:transparent;font-size:15px;line-height:1.7;color:#333;resize:none;outline:none;min-height:90px;margin:0;border-radius:0;padding:0 70px 0 0;font-family:inherit}
.h5-body #dialog.h5-reference-sheet .review-copy-btn{position:absolute;right:12px;bottom:12px;color:#07c160;font:600 14px Arial,sans-serif;background:transparent;border:0;padding:4px 6px}
.h5-body #dialog.h5-reference-sheet .review-copy-card.review-tap-copy{padding:12px 14px;cursor:pointer;transition:background .16s ease,transform .16s ease}
.h5-body #dialog.h5-reference-sheet .review-copy-card.review-tap-copy:active{background:#eefbf4;transform:scale(.995)}
.h5-body #dialog.h5-reference-sheet .review-copy-card.review-tap-copy .review-copy-text{min-height:96px;padding:0;cursor:text}
.h5-body #dialog.h5-reference-sheet .review-copy-disclaimer{margin-top:7px;padding-top:7px;border-top:1px solid rgba(0,0,0,.035);color:#a8adb5;font-size:11px;line-height:1.55;font-weight:400}
.h5-body #dialog.h5-reference-sheet .review-tip{font-size:12px;color:#999;line-height:1.5;margin-bottom:6px}
.h5-body #dialog.h5-reference-sheet .review-images-title{font-size:15px;font-weight:700;color:#333;margin:16px 0 10px;display:flex;align-items:center;gap:8px}
.h5-body #dialog.h5-reference-sheet .review-save-btn{flex:none;background:#07c160;color:#fff;border:0;border-radius:16px;font:600 12px Arial,sans-serif;padding:5px 12px}
.h5-body #dialog.h5-reference-sheet .review-save-btn:active{opacity:.85}
.h5-body #dialog.h5-reference-sheet .review-images-sub{font-size:13px;color:#999;font-weight:400}
.h5-body #dialog.h5-reference-sheet .review-images-title-review .review-save-btn{margin-left:auto}
.h5-body #dialog.h5-reference-sheet .review-images-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.h5-body #dialog.h5-reference-sheet .review-image-wrap{display:block;border-radius:10px;overflow:hidden;cursor:zoom-in}
.h5-body #dialog.h5-reference-sheet .review-image-wrap img{width:100%;aspect-ratio:1;object-fit:cover;display:block;margin:0;border-radius:0;-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto}
.h5-body #dialog.h5-reference-sheet .review-go-btn{width:auto;flex:1;background:#07c160;color:#fff;border:0;border-radius:24px;padding:14px;font:600 16px Arial,sans-serif}
.h5-body #dialog.h5-reference-sheet .review-go-btn:active{opacity:.9;transform:scale(.98)}
.h5-body #dialog.h5-reference-sheet .modal-footer.pyq-share-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.h5-body #dialog.h5-reference-sheet .pyq-share-footer .pyq-share-go{grid-column:1/-1}
.h5-body #dialog.h5-reference-sheet .review-video-wrap{margin-bottom:10px}
.h5-body #dialog.h5-reference-sheet .review-video{width:100%;border-radius:12px;background:#000;display:block;max-height:320px}
.h5-body #dialog.h5-reference-sheet :is(button,textarea):focus-visible{outline:2px solid #07c160;outline-offset:2px}
.h5-body #dialog.h5-reference-sheet [hidden]{display:none}
.h5-body #dialog .h5-reference-toast{position:fixed;left:50vw;top:50vh;transform:translate(-50%,-50%);z-index:1;min-width:230px;max-width:86vw;padding:13px 18px;border-radius:12px;background:rgba(15,23,42,.9);color:#fff;font-size:13px;line-height:1.5;text-align:center;white-space:normal;pointer-events:none}
.h5-body #dialog .h5-reference-toast .review-result-title{color:#fff;font-size:17px;line-height:1.35;font-weight:700;text-align:center}
.h5-body #dialog .h5-reference-toast .review-result-detail{margin-top:9px;color:rgba(255,255,255,.9);font-size:13px;line-height:1.5;text-align:center}
.h5-body dialog.h5-reference-photo{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;border-radius:0;padding:52px 16px 28px;background:rgba(0,0,0,.92);color:#fff;box-shadow:none;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
.h5-reference-photo[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.h5-reference-photo::backdrop{background:transparent;backdrop-filter:none}
.h5-reference-photo img{display:block;max-width:100%;max-height:75vh;width:auto;height:auto;object-fit:contain;border-radius:8px;-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto}
.h5-reference-photo p{margin:0;color:#fff;font-size:14px}
.h5-reference-photo button{position:absolute;top:16px;right:16px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font:25px/36px Arial,sans-serif;padding:0}
.h5-body #dialog.h5-reference-browser-guide{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:rgba(8,15,28,.84);color:#222;box-shadow:none;overflow:auto;font-family:"PingFang SC","Microsoft YaHei",sans-serif;line-height:normal}
.h5-body #dialog.h5-reference-browser-guide::backdrop{background:transparent;backdrop-filter:none}
.h5-reference-browser-guide .wechat-browser-guide{min-height:100%;display:flex;align-items:flex-start;justify-content:center;padding:78px 20px 24px;box-sizing:border-box}
.h5-reference-browser-guide .wechat-browser-guide-arrow{position:absolute;top:10px;right:18px;width:54px;height:54px;max-width:none;margin:0;border:0;border-radius:0;display:block;transform:rotate(-8deg)}
.h5-reference-browser-guide .wechat-browser-guide-card{width:100%;max-width:350px;padding:24px 22px 20px;border-radius:22px;background:#fff;color:#222;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.28)}
.h5-reference-browser-guide .wechat-browser-guide-icon{width:54px;height:54px;margin:0 auto 13px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(135deg,#1677ff,#62a8ff);color:#fff;font-size:25px;font-weight:800}
.h5-reference-browser-guide .wechat-browser-guide-title{font-size:19px;line-height:1.4;font-weight:800}
.h5-reference-browser-guide .wechat-browser-guide-sub{margin-top:8px;color:#7b8491;font-size:13px;line-height:1.65}
.h5-reference-browser-guide .wechat-browser-guide-steps{margin:17px 0;padding:13px 15px;border-radius:14px;background:#f4f7fb;color:#394150;font-size:14px;line-height:1.9;text-align:left}
.h5-reference-browser-guide .wechat-browser-guide-steps b{display:inline-grid;width:21px;height:21px;margin-right:7px;place-items:center;border-radius:50%;background:#1677ff;color:#fff;font-size:11px}
.h5-reference-browser-guide .wechat-browser-guide-close{width:100%;padding:12px;border:0;border-radius:13px;background:#edf1f6;color:#596273;font:700 14px Arial,sans-serif}
@media(prefers-reduced-motion:no-preference){.h5-body #dialog.h5-reference-sheet[open] .review-sheet-content{animation:h5ReferenceSlideUp .3s ease}.h5-body #dialog.h5-reference-sheet::backdrop{animation:h5ReferenceFadeIn .25s ease}.h5-body #dialog.h5-reference-sheet .review-fade-in{animation:h5ReferenceFadeIn .22s ease}}
@keyframes h5ReferenceSlideUp{from{transform:translateY(100%)}to{transform:none}}
@keyframes h5ReferenceFadeIn{from{opacity:0}to{opacity:1}}
