.ky-share-bar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:14px 0 20px;min-width:0;font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif}.ky-share-bar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 16px;border-radius:24px;border:1px solid #d7c8a7;background:#fffaf0;font-size:14px;line-height:1.4;cursor:pointer;box-shadow:0 2px 5px #62482a08;white-space:nowrap}.ky-share-bar button:disabled{opacity:.6;cursor:wait}.ky-share-bar .ky-share-wechat{color:#246240;background:#f3f8f0;border-color:#b9cdb0}.ky-share-wechat svg{width:25px;height:22px;color:#398655;flex:none}.ky-share-bar .ky-share-copy{color:#84633a;background:#fffcf4;border-color:#dfd0b3}.ky-share-bar button:hover{filter:brightness(.97)}.ky-share-bar button:focus-visible,.ky-share-dialog button:focus-visible,.ky-share-dialog a:focus-visible,.ky-share-dialog input:focus-visible{outline:3px solid #b48a42;outline-offset:3px}.ky-share-status{color:#66705d;font-size:12px;line-height:1.6}.ky-share-status:empty{display:none}.ky-share-bar noscript{font-size:12px}.ky-home-share{padding-top:18px}.ky-home-share .ky-share-bar{margin:0}.ky-annual-page .ky-share-bar{margin:12px 0 18px}.ky-year-month .ky-share-bar{margin:12px 0 0}.ky-share-modal[hidden],.ky-share-modal [hidden]{display:none!important}.ky-share-modal{position:fixed;inset:0;background:rgba(30,34,26,.56);backdrop-filter:blur(3px);z-index:11000;display:flex;align-items:center;justify-content:center;padding:22px;box-sizing:border-box;font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;color:#384333}.ky-share-dialog{width:min(100%,440px);max-height:calc(100vh - 44px);max-height:calc(100dvh - 44px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #dbc89f;border-radius:22px;padding:24px;background:#fffdf6;box-shadow:0 20px 70px #15211040;box-sizing:border-box;text-align:left}.ky-share-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ky-share-dialog header small{font-size:11px;letter-spacing:1px;color:#99805a}.ky-share-dialog h2{font-size:23px!important;color:#365739!important;margin:5px 0 0!important;font-weight:700;line-height:1.4}.ky-share-dialog .ky-share-close{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #e3d9c3;border-radius:50%;background:#f7f2e8;color:#73664e;font-size:25px;line-height:1;cursor:pointer;padding:0}.ky-share-dialog p{font-size:13px;line-height:1.75;color:#6d715f}.ky-share-dialog #ky-share-subtitle{font-size:14px;margin:12px 0 18px;color:#5d604f;overflow-wrap:anywhere}.ky-share-qr-wrap{text-align:center;padding:16px;border:1px solid #e3ddcb;border-radius:14px;background:#fff}.ky-share-qr-wrap img{width:232px;height:232px;max-width:100%;object-fit:contain;image-rendering:pixelated;display:block;margin:auto;border:0;box-shadow:none}.ky-share-qr-wrap p{margin:8px 0 0!important}.ky-share-wx-guide{padding:22px 14px;text-align:center;border-radius:14px;background:#edf4e8;border:1px solid #c9dab9;position:relative}.ky-share-wx-guide>span{display:block;text-align:right;font-size:42px;line-height:1;margin:-8px 0 8px;color:#549558}.ky-share-wx-guide strong{font-size:24px;color:#365b37}.ky-share-wx-guide p{font-size:15px;margin-bottom:2px}.ky-share-link-row{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:15px}.ky-share-link-row label{grid-column:1/-1;color:#81745a;font-size:12px}.ky-share-link-row input{min-width:0;width:100%;box-sizing:border-box;border:1px solid #dfd6c1;border-radius:7px;padding:10px;color:#675b45;background:#fff;font-size:12px}.ky-share-dialog button:not(.ky-share-close),.ky-share-dialog-actions a{min-height:42px;padding:9px 14px;border:1px solid #c9d5bc;border-radius:8px;background:#edf4e7;color:#365b32;font-size:14px;font-family:inherit;cursor:pointer;text-decoration:none;text-align:center;box-sizing:border-box}.ky-share-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.ky-share-dialog-actions>*{flex:1}.ky-share-dialog-actions #ky-share-send-image{background:#36754a;color:#fff;border-color:#36754a;flex-basis:100%}.ky-share-image-wrap{background:#f5f2e9;border:1px solid #e3d9c4;border-radius:12px;padding:10px;text-align:center}.ky-share-image-wrap img{display:block;width:100%;height:auto;max-height:48vh;object-fit:contain;margin:auto;-webkit-touch-callout:default;user-select:auto}.ky-share-image-wrap p{font-size:12px;margin:8px 0 0!important}#ky-share-message{font-size:12px;margin:12px 0;min-height:0}#ky-share-message:empty{display:none}
@media(max-width:600px){.ky-share-bar{margin:10px 0 15px;gap:7px}.ky-share-bar button{padding:7px 12px;font-size:13px;min-height:38px}.ky-share-status{flex-basis:100%;text-align:right;font-size:11px}.ky-share-modal{align-items:flex-end;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.ky-share-dialog{padding:20px;border-radius:20px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px)}.ky-share-dialog h2{font-size:22px!important}.ky-share-dialog #ky-share-subtitle{font-size:13px}.ky-share-wx-guide{padding:15px}.ky-share-link-row input{font-size:16px}.ky-share-bar[data-share-kind=image]{justify-content:flex-start}.ky-home-share{padding-top:10px}}
@media(prefers-reduced-motion:reduce){.ky-share-modal{backdrop-filter:none}}@media print{.ky-share-bar,.ky-share-modal{display:none!important}}

/* Show mobile PNG pages at reading width, rather than squeezing a tall page into a thumbnail. */
.ky-share-image-scroll{max-height:52vh;max-height:52dvh;overflow:auto;overscroll-behavior:contain;border-radius:5px;background:#fffdf8}
.ky-share-image-wrap .ky-share-image-scroll img{width:100%;height:auto;max-height:none;object-fit:initial;border:0;border-radius:0;box-shadow:none}
.ky-share-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.ky-share-pages span{font-size:13px;color:#575e4b;font-variant-numeric:tabular-nums}
.ky-share-pages button:disabled{opacity:.4;cursor:default}
.ky-share-dialog:has(.ky-share-image-wrap:not([hidden])){max-width:480px}
@media(max-width:600px){.ky-share-dialog:has(.ky-share-image-wrap:not([hidden])){padding:16px}.ky-share-image-wrap{padding:6px}.ky-share-pages{padding:0 4px}.ky-share-pages button{padding:8px 12px!important}}
