/* Plastic Depot website chat – Chip (v0.61.0). Everything is inside #pdsp-chat so the theme can't change it. */
#pdsp-chat { --pc-blue: #1f4e78; --pc-blue-soft: #e8f0f8; --pc-ink: #1d2733; --pc-muted: #637083; --pc-line: #dfe4ea; --pc-orange: #e8711c;
	position: fixed; right: 18px; bottom: 18px; z-index: 2147483000; font: 15px/1.45 Arial, Helvetica, sans-serif; color: var(--pc-ink); }
#pdsp-chat *, #pdsp-chat *::before, #pdsp-chat *::after { box-sizing: border-box; }
#pdsp-chat button { font: inherit; cursor: pointer; }
#pdsp-chat a { color: var(--pc-blue); }

/* the round button */
#pdsp-chat .pc-launch { position: relative; width: 66px; height: 66px; border-radius: 50%; border: 3px solid #fff; background: var(--pc-blue); padding: 0; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); display: block; margin-left: auto; transition: transform .15s; }
#pdsp-chat .pc-launch:hover { transform: scale(1.06); }
#pdsp-chat .pc-launch img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; display: block; }
#pdsp-chat .pc-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; background: #d92d20; color: #fff; font-size: 13px; font-weight: 700; line-height: 22px; text-align: center; padding: 0 6px; }
#pdsp-chat .pc-tip { position: absolute; right: 76px; bottom: 12px; width: 220px; background: #fff; border: 1px solid var(--pc-line); border-radius: 12px; padding: 10px 26px 10px 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, .15); font-size: 14px; cursor: pointer; }
#pdsp-chat .pc-tip-x { position: absolute; top: 2px; right: 4px; border: 0; background: none; font-size: 18px; color: var(--pc-muted); line-height: 1; padding: 2px 4px; }
#pdsp-chat.is-open .pc-tip { display: none; }

/* the chat window */
#pdsp-chat .pc-panel { position: absolute; right: 0; bottom: 80px; width: 370px; height: min(600px, calc(100vh - 110px)); background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .28); display: flex; flex-direction: column; overflow: hidden; }
#pdsp-chat .pc-head { display: flex; align-items: center; gap: 10px; background: var(--pc-blue); color: #fff; padding: 10px 12px; }
#pdsp-chat .pc-head-av { width: 42px; height: 42px; border-radius: 50%; background: #fff; flex: none; }
#pdsp-chat .pc-head-t { flex: 1; min-width: 0; }
#pdsp-chat .pc-head-t strong { display: block; font-size: 16px; }
#pdsp-chat .pc-hint { font-size: 12.5px; opacity: .9; }
#pdsp-chat .pc-test { background: var(--pc-orange); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
#pdsp-chat .pc-x { border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; padding: 0 4px; }

#pdsp-chat .pc-list { flex: 1; overflow-y: auto; padding: 12px; background: #f4f6f8; display: flex; flex-direction: column; gap: 10px; }
#pdsp-chat .pc-row { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
#pdsp-chat .pc-me { justify-content: flex-end; }
#pdsp-chat .pc-bub { max-width: 82%; padding: 9px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--pc-line); word-wrap: break-word; overflow-wrap: anywhere; }
#pdsp-chat .pc-me .pc-bub { background: var(--pc-blue); border-color: var(--pc-blue); color: #fff; border-bottom-right-radius: 4px; }
#pdsp-chat .pc-me .pc-bub a { color: #fff; }
#pdsp-chat .pc-them .pc-bub { border-bottom-left-radius: 4px; }
#pdsp-chat .pc-staff .pc-bub { border-color: #8fb3d6; background: var(--pc-blue-soft); }
#pdsp-chat .pc-name { font-size: 11.5px; color: var(--pc-muted); margin-bottom: 2px; font-weight: 700; }
#pdsp-chat .pc-txt ul { margin: 4px 0 4px 18px; padding: 0; }
#pdsp-chat .pc-txt li { margin: 2px 0; }
#pdsp-chat .pc-av { width: 30px; height: 30px; border-radius: 50%; background: #fff; flex: none; border: 1px solid var(--pc-line); }
#pdsp-chat .pc-av-staff { display: inline-flex; align-items: center; justify-content: center; background: var(--pc-blue); color: #fff; font-weight: 700; font-size: 14px; }
#pdsp-chat .pc-pose { width: 64px; height: auto; flex: none; }
#pdsp-chat .pc-pose-side { width: 46px; align-self: flex-end; }
#pdsp-chat .pc-sys { justify-content: center; align-items: center; }
#pdsp-chat .pc-note { font-size: 13.5px; color: var(--pc-ink); background: #fff8e6; border: 1px solid #f0d58c; border-radius: 10px; padding: 8px 10px; max-width: 80%; }

#pdsp-chat .pc-links { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
#pdsp-chat .pc-link { display: block; text-decoration: none; background: var(--pc-orange); color: #fff !important; border-radius: 8px; padding: 8px 10px; font-weight: 700; font-size: 14px; }
#pdsp-chat .pc-link:nth-child(n+2) { background: #fff; color: var(--pc-blue) !important; border: 2px solid var(--pc-blue); }
#pdsp-chat .pc-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#pdsp-chat .pc-qb { border: 2px solid var(--pc-blue); background: #fff; color: var(--pc-blue); border-radius: 18px; padding: 5px 11px; font-size: 14px; font-weight: 700; }
#pdsp-chat .pc-qb:hover { background: var(--pc-blue-soft); }

#pdsp-chat .pc-form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; border-top: 1px solid var(--pc-line); padding-top: 8px; }
#pdsp-chat .pc-ftitle { margin: 0; font-size: 13.5px; font-weight: 700; }
#pdsp-chat .pc-form input { width: 100%; border: 1px solid #b9c3cf; border-radius: 8px; padding: 9px 10px; font-size: 16px; background: #fff; color: var(--pc-ink); margin: 0; }
#pdsp-chat .pc-send-btn { border: 0; background: var(--pc-orange); color: #fff; font-weight: 700; border-radius: 8px; padding: 10px; font-size: 15px; }
#pdsp-chat .pc-send-btn:disabled { opacity: .6; }
#pdsp-chat .pc-fmsg { font-size: 13px; color: #b42318; min-height: 1em; }

#pdsp-chat .pc-foot { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--pc-line); background: #fff; }
#pdsp-chat .pc-foot textarea { flex: 1; resize: none; border: 2px solid var(--pc-blue); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 16px; line-height: 1.35; max-height: 110px; background: #fff; color: var(--pc-ink); margin: 0; }
#pdsp-chat .pc-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--pc-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
#pdsp-chat .pc-send:disabled { opacity: .5; }
#pdsp-chat .pc-small { font-size: 11.5px; color: var(--pc-muted); padding: 0 12px 8px; background: #fff; }

#pdsp-chat .pc-dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
#pdsp-chat .pc-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--pc-muted); animation: pcdot 1.2s infinite ease-in-out; }
#pdsp-chat .pc-dots i:nth-child(2) { animation-delay: .15s; }
#pdsp-chat .pc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pcdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* phones: full screen */
@media (max-width: 520px) {
	#pdsp-chat { right: 12px; bottom: 12px; }
	#pdsp-chat .pc-launch { width: 58px; height: 58px; }
	#pdsp-chat.is-open .pc-launch { display: none; }
	#pdsp-chat .pc-panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; }
	#pdsp-chat .pc-tip { width: 180px; right: 66px; }
}
@media (prefers-reduced-motion: reduce) { #pdsp-chat .pc-dots i { animation: none; } #pdsp-chat .pc-launch { transition: none; } }
