/* Shine chat dock (js/shine-dock.js): sticker bubble + docked panel, full screen on phones. */
.shine-bubble{position:fixed;right:24px;bottom:24px;z-index:60;display:flex;align-items:center;gap:8px;height:54px;padding:0 20px 0 16px;border-radius:999px;
  border:2px solid #121212;background:var(--dj-pop,#FF4FA3);color:#121212;font:inherit;font-weight:800;font-size:15px;cursor:pointer;box-shadow:4px 4px 0 #121212;
  transition:transform .15s,box-shadow .15s}
.shine-bubble svg{width:22px;height:22px}
.shine-bubble:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 #121212}
.shine-bubble:active{transform:translate(3px,3px);box-shadow:0 0 0 #121212}
.shine-bubble i,.b-shine i{position:absolute;top:-8px;right:-6px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#121212;color:#fff;border:2px solid #fff;
  font-style:normal;font-size:11px;font-weight:800;display:grid;place-items:center}
.shine-bubble i[hidden],.b-shine i[hidden]{display:none}
.shine-open .shine-bubble{opacity:0;pointer-events:none}
.shine-dock{position:fixed;right:24px;bottom:24px;z-index:300;width:min(420px,calc(100vw - 48px));height:min(660px,calc(100dvh - 48px));display:flex;flex-direction:column;
  background:#FFFBF7;border:2px solid #121212;border-radius:26px;box-shadow:6px 6px 0 #121212;overflow:hidden;
  opacity:0;transform:translateY(16px) scale(.98);transform-origin:bottom right;transition:opacity .2s,transform .22s cubic-bezier(.16,1,.3,1)}
.shine-dock.is-open{opacity:1;transform:none}
.shine-dock[hidden]{display:none}
.shine-dock-head{display:flex;align-items:center;gap:8px;padding:10px 10px 10px 14px;background:var(--dj-soft,#FFE3F1);border-bottom:2px solid #121212;color:#121212}
.shine-dock-head b{font-size:18px;letter-spacing:-.03em}
.shine-dock-logo{width:30px;height:30px;flex:none;filter:drop-shadow(2px 2px 0 #121212)}
.shine-dock-tools{margin-left:auto;display:flex;gap:6px}
.shine-dock-btn{width:36px;height:36px;border-radius:50%;border:1.5px solid #121212;background:#fff;color:#121212;font:inherit;font-size:18px;font-weight:800;line-height:1;cursor:pointer}
.shine-dock-btn:active{transform:scale(.94)}
.shine-back{display:none}
.shine-dock-body{position:relative;flex:1;min-height:0;background:#FFFBF7}
.shine-dock-body iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .25s}
.shine-dock.is-ready iframe{opacity:1}
.shine-dock-msg{position:absolute;inset:0;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;text-align:center;color:#5b5560;font-weight:600}
.shine-dock-msg b{color:#121212;font-size:17px}
.shine-dock.is-ready .shine-dock-msg{display:none}
.shine-dock-spin{width:22px;height:22px;border:3px solid #FFE3F1;border-top-color:var(--dj-pop,#FF4FA3);border-radius:50%;animation:shineSpin .7s linear infinite}
@keyframes shineSpin{to{transform:rotate(360deg)}}
.b-shine{position:relative}
@media (max-width:899px){
  .shine-bubble{display:none}
  .shine-dock{top:0;right:0;bottom:0;left:0;width:100%;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none;padding-top:env(safe-area-inset-top);transform:translateY(24px)}
  .shine-dock-head{padding-left:8px}
  .shine-back{display:block;border:0;background:transparent;font-size:30px;width:40px}
  .shine-x{display:none}
  /* the iframe can't see the phone's home bar, so the panel leaves room for it */
  .shine-dock-body{margin-bottom:env(safe-area-inset-bottom)}
}
@media (prefers-reduced-motion:reduce){.shine-dock,.shine-bubble,.shine-dock-body iframe{transition:none}}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .shine-dock,html:not([data-theme="light"]) .shine-dock-body{background:#141216}}
