/* 仅作用于 pintuan 插件节点；不覆盖原模板的全局样式。 */
#npt-float,#npt-detail-button,.npt-modal,.npt-toast{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;box-sizing:border-box}
#npt-float{position:fixed;right:22px;bottom:calc(108px + env(safe-area-inset-bottom,0px));z-index:900;border:1px solid #dce5ff;border-radius:16px;background:#fff;color:#4e7cff;box-shadow:0 5px 24px #4e7cff29;padding:13px 18px;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;font-weight:600;line-height:1.4}
#npt-float .npt-icon{display:grid;place-items:center;background:#edf2ff;border-radius:10px;width:35px;height:35px;font-size:18px}#npt-float small{display:block;font-weight:400;font-size:11px;color:#9098ad;margin-top:3px}
#npt-detail-button{background:#edf2ff;color:#4e7cff;border:1px solid #7997ff;border-radius:24px;height:40px;min-width:84px;margin:0 10px 0 8px;padding:0 19px;font-size:15px;font-weight:600;cursor:pointer;flex-shrink:0;white-space:nowrap}
#npt-detail-button:hover,#npt-float:hover{background:#e8efff}
.npt-modal{width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 50px);padding:0;border:0;border-radius:20px;background:#f5f8ff;color:#303744;box-shadow:0 14px 65px #17274c33;z-index:99999;font-size:14px;line-height:1.6}
.npt-modal{position:fixed;inset:0;margin:auto;overflow-y:auto}.npt-modal::backdrop{background:#18233d66}.npt-modal *{box-sizing:border-box}.npt-header{display:flex;align-items:center;justify-content:space-between;background:white;padding:18px 22px;border-bottom:1px solid #e9edfa;position:sticky;top:0;z-index:1}.npt-header h2{margin:0;font-size:19px;font-weight:650}.npt-close{border:0;background:#f2f5fa;border-radius:50%;width:30px;height:30px;color:#737d90;font-size:23px;cursor:pointer;line-height:28px}.npt-body{padding:18px 20px 22px;min-height:170px}.npt-tabs{display:flex;gap:8px;margin-bottom:17px}.npt-tab{flex:1;border:0;border-radius:10px;background:#eaf0ff;color:#627493;padding:10px;cursor:pointer;font:inherit}.npt-tab.active{background:#4e7cff;color:#fff}.npt-hint{font-size:12px;color:#8992a5;margin:0 0 16px}.npt-card{background:white;border:1px solid #e5ebfc;border-radius:14px;padding:17px;margin-bottom:12px}.npt-card h3{font-size:15px;font-weight:650;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere}.npt-row{display:flex;justify-content:space-between;align-items:center;gap:14px}.npt-price{font-weight:700;color:#ff5273;font-size:23px;line-height:1.4}.npt-price small{font-size:12px;font-weight:400;margin-left:5px;color:#9a9fab}.npt-sub{color:#8d96a6;font-size:12px;margin:6px 0}.npt-badge{font-size:12px;color:#4e7cff;background:#edf2ff;border-radius:5px;padding:3px 8px;display:inline-block;margin-bottom:9px}.npt-primary,.npt-secondary{font-family:inherit;font-size:13px;font-weight:600;border-radius:9px;padding:10px 15px;cursor:pointer;line-height:1.4}.npt-primary{background:linear-gradient(135deg,#4e7cff,#698cff);border:1px solid transparent;color:#fff;box-shadow:0 3px 9px #4e7cff25}.npt-secondary{background:white;border:1px solid #d5e0ff;color:#4e7cff}.npt-primary:disabled,.npt-secondary:disabled{opacity:.6;cursor:wait}.npt-wide{width:100%;margin-top:11px}.npt-empty{background:#fff;border:1px dashed #dbe4ff;border-radius:13px;text-align:center;padding:30px 16px;color:#8c95a8}.npt-error{color:#b34252;background:#fff0f3;padding:10px 14px;border-radius:9px;font-size:13px;margin:10px 0}.npt-error:empty{display:none}.npt-agree{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#7f8797;margin:17px 0}.npt-agree input{margin-top:4px;width:15px;height:15px;flex-shrink:0;accent-color:#4e7cff}.npt-modal select{border:1px solid #dce4f9;background:white;border-radius:9px;width:100%;padding:10px;color:#4a556a;font:inherit}.npt-people{display:flex;flex-wrap:wrap;gap:10px;margin:17px 0}.npt-person{padding:10px 12px;background:#f1f5ff;border-radius:10px;text-align:center;font-size:12px;color:#77849c}.npt-person.paid{color:#408956;background:#eef8f0}.npt-person strong{display:block;font-size:17px;margin-bottom:3px}.npt-count{font-variant-numeric:tabular-nums;color:#4e7cff;font-weight:650;font-size:21px}.npt-toast{position:fixed;left:50%;bottom:calc(170px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:100001;max-width:min(500px,calc(100vw - 30px));background:#303a50ef;border-radius:12px;color:white;padding:12px 18px;line-height:1.5;font-size:13px;box-shadow:0 4px 18px #0002}.npt-note{font-size:12px;overflow-wrap:anywhere;color:#9ba3b1;margin-top:12px}
@media(max-width:600px){#npt-float{right:12px;bottom:calc(100px + env(safe-area-inset-bottom,0px));padding:10px 12px;font-size:12px;border-radius:13px}#npt-float .npt-icon{width:29px;height:29px;font-size:16px}#npt-detail-button{min-width:66px;padding:0 12px;height:40px;margin:0 6px;font-size:13px}.npt-modal{max-height:calc(100dvh - 30px)}.npt-body{padding:15px}.npt-header{padding:16px}.npt-price{font-size:21px}}

/* Frosted capsule: scoped to the home floating entry. */
#npt-float{border-radius:999px;padding:12px 22px 12px 14px;gap:11px;border:1px solid rgba(255,255,255,.85);background:rgba(246,249,255,.66);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);box-shadow:0 8px 28px rgba(79,118,222,.16),inset 0 1px 0 rgba(255,255,255,.95);color:#4e7cff;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
#npt-float .npt-icon{border-radius:50%;background:rgba(223,233,255,.6);width:38px;height:38px}
#npt-float small{color:#78859b;font-weight:400;margin-top:2px}
#npt-float:hover{background:rgba(239,245,255,.8);box-shadow:0 10px 30px rgba(79,118,222,.22),inset 0 1px 0 rgba(255,255,255,.95)}
#npt-float:active{transform:scale(.97)}
#npt-float:focus-visible{outline:2px solid #4e7cff;outline-offset:4px}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#npt-float{background:rgba(246,249,255,.96)}}
@media(max-width:600px){#npt-float{border-radius:999px;padding:10px 17px 10px 11px;gap:9px}#npt-float .npt-icon{width:33px;height:33px}}
@media(prefers-reduced-motion:reduce){#npt-float{transition:none}#npt-float:active{transform:none}}

/* A downward shadow separates the glass capsule from pale backgrounds. */
#npt-float{box-shadow:0 12px 22px -7px rgba(53,79,139,.34),0 4px 8px -3px rgba(53,79,139,.18),inset 0 1px 0 rgba(255,255,255,.95)}
#npt-float:hover{box-shadow:0 14px 26px -7px rgba(53,79,139,.38),0 5px 10px -3px rgba(53,79,139,.2),inset 0 1px 0 rgba(255,255,255,.95)}

.npt-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:210px;padding:20px;text-align:center;gap:10px}
.npt-spinner{width:44px;height:44px;border:4px solid #e0e9ff;border-top-color:#4e7cff;border-right-color:#8daaff;border-radius:50%;animation:npt-spin .85s linear infinite;box-sizing:border-box}
.npt-loading-percent{font-size:23px;font-variant-numeric:tabular-nums;color:#4e7cff;line-height:1.2}
.npt-loading-title{color:#51617d;font-size:14px}.npt-loading-note{color:#8491a7;font-size:11px;line-height:1.6}
.npt-loading.is-complete .npt-spinner{animation:none;border-color:#4e7cff}
@keyframes npt-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.npt-spinner{animation-duration:2.5s}}
