/* RYME floating support launcher — v1.12.13 */
.ryme-support-launcher{
  --rsl-bg:var(--panel,#11151d);
  --rsl-bg-2:var(--panel2,#171c27);
  --rsl-text:var(--text,#f5f7fb);
  --rsl-muted:var(--muted,#9ca4b6);
  --rsl-line:var(--line,rgba(255,255,255,.12));
  --rsl-shadow:0 22px 60px rgba(0,0,0,.28);
  position:fixed;
  left:max(18px,env(safe-area-inset-left));
  bottom:max(18px,env(safe-area-inset-bottom));
  z-index:9998;
  font-family:inherit;
}
.ryme-support-launcher *{box-sizing:border-box}
.ryme-support-launcher__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:92px;
  min-height:46px;
  padding:0 16px;
  border:1px solid var(--rsl-line);
  border-radius:999px;
  background:var(--rsl-text);
  color:var(--bg,#0b0e15);
  box-shadow:0 12px 34px rgba(0,0,0,.22);
  cursor:pointer;
  font:inherit;
  font-size:13px;
  font-weight:850;
  letter-spacing:-.01em;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;
}
.ryme-support-launcher__button:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(0,0,0,.28)}
.ryme-support-launcher__button:focus-visible,
.ryme-support-launcher__create:focus-visible,
.ryme-support-launcher__close:focus-visible{outline:3px solid rgba(111,130,233,.45);outline-offset:3px}
.ryme-support-launcher__button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

.ryme-support-launcher__panel{
  position:absolute;
  left:0;
  bottom:58px;
  width:min(310px,calc(100vw - 36px));
  padding:14px;
  border:1px solid var(--rsl-line);
  border-radius:18px;
  background:var(--rsl-bg);
  color:var(--rsl-text);
  box-shadow:var(--rsl-shadow);
  opacity:0;
  visibility:hidden;
  transform:translateY(9px) scale(.985);
  transform-origin:left bottom;
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
.ryme-support-launcher.is-open .ryme-support-launcher__panel{
  opacity:1;
  visibility:visible;
  transform:none;
  pointer-events:auto;
}
.ryme-support-launcher__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ryme-support-launcher__head-copy{min-width:0}
.ryme-support-launcher__eyebrow{display:block;margin-bottom:3px;color:var(--rsl-muted);font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.ryme-support-launcher__title{margin:0;color:var(--rsl-text);font-size:15px;line-height:1.25;font-weight:900;letter-spacing:-.02em}
.ryme-support-launcher__close{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  flex:0 0 32px;
  border:1px solid var(--rsl-line);
  border-radius:10px;
  background:var(--rsl-bg-2);
  color:var(--rsl-text);
  cursor:pointer;
  font:inherit;
  font-size:20px;
  line-height:1;
}
.ryme-support-launcher__create{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:50px;
  width:100%;
  padding:0 15px;
  border:1px solid var(--rsl-line);
  border-radius:13px;
  background:var(--rsl-text);
  color:var(--bg,#0b0e15)!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:900;
  transition:transform .18s ease,opacity .18s ease;
}
.ryme-support-launcher__create:hover{transform:translateY(-1px);opacity:.94;text-decoration:none!important}
.ryme-support-launcher__create-arrow{font-size:17px;line-height:1}
.ryme-support-launcher__note{margin:10px 2px 0;color:var(--rsl-muted);font-size:11px;line-height:1.45}

html[data-theme="light"] .ryme-support-launcher{
  --rsl-bg:#fff;
  --rsl-bg-2:#f4f5f7;
  --rsl-text:#111318;
  --rsl-muted:#6f7480;
  --rsl-line:#e2e4e9;
  --rsl-shadow:0 20px 55px rgba(25,30,40,.18);
}
html[data-theme="light"] .ryme-support-launcher__button,
html[data-theme="light"] .ryme-support-launcher__create{background:#111318;color:#fff!important}

html[data-theme="ryme"] .ryme-support-launcher{
  --rsl-bg:#0b0f19;
  --rsl-bg-2:#101727;
  --rsl-text:#f7f8ff;
  --rsl-muted:#a7b2ce;
  --rsl-line:#29334b;
}
html[data-theme="ryme"] .ryme-support-launcher__panel{
  background:radial-gradient(circle at 100% 0%,rgba(82,113,255,.16),transparent 45%),linear-gradient(180deg,#0c101b,#090c14);
}
html[data-theme="ryme"] .ryme-support-launcher__button,
html[data-theme="ryme"] .ryme-support-launcher__create{
  background:linear-gradient(135deg,#f7f8ff,#dfe5ff);
  color:#0a0d15!important;
}

@media (max-width:767px){
  .ryme-support-launcher{
    left:max(12px,env(safe-area-inset-left));
    bottom:max(12px,env(safe-area-inset-bottom));
  }
  .ryme-support-launcher__button{min-width:84px;min-height:44px;padding:0 14px}
  .ryme-support-launcher__panel{bottom:54px;width:min(292px,calc(100vw - 24px));border-radius:16px}
  .ryme-support-launcher__create{min-height:48px}
}

@media (max-height:520px) and (orientation:landscape){
  .ryme-support-launcher__panel{max-height:calc(100vh - 86px);overflow:auto}
}

@media (prefers-reduced-motion:reduce){
  .ryme-support-launcher__button,
  .ryme-support-launcher__panel,
  .ryme-support-launcher__create{transition:none!important}
}


/* v1.12.30 — show current open tickets inside the floating Chat panel */
.ryme-support-launcher__tickets{
  display:grid;
  gap:8px;
  margin-bottom:10px;
}
.ryme-support-launcher__section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 2px 2px;
  color:var(--rsl-muted);
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ryme-support-launcher__count{
  display:grid;
  place-items:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border:1px solid var(--rsl-line);
  border-radius:999px;
  background:var(--rsl-bg-2);
  color:var(--rsl-text);
  font-size:10px;
  line-height:1;
}
.ryme-support-launcher__ticket{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  min-height:58px;
  padding:10px 11px 10px 12px;
  border:1px solid var(--rsl-line);
  border-radius:13px;
  background:var(--rsl-bg-2);
  color:var(--rsl-text)!important;
  text-decoration:none!important;
  box-shadow:none;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.ryme-support-launcher__ticket:hover{
  border-color:color-mix(in srgb,#5271ff 48%,var(--rsl-line));
  background:color-mix(in srgb,#5271ff 8%,var(--rsl-bg-2));
  transform:translateY(-1px);
  text-decoration:none!important;
}
.ryme-support-launcher__ticket-main{
  display:block;
  min-width:0;
}
.ryme-support-launcher__ticket-title{
  display:block;
  max-width:220px;
  overflow:hidden;
  color:var(--rsl-text);
  font-size:13px;
  font-weight:850;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ryme-support-launcher__ticket-meta{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:4px;
  color:var(--rsl-muted);
  font-size:10px;
  font-weight:750;
  line-height:1;
}
.ryme-support-launcher__ticket-arrow{
  flex:0 0 auto;
  color:var(--rsl-muted);
  font-size:17px;
  line-height:1;
}
.ryme-support-launcher__ticket:hover .ryme-support-launcher__ticket-arrow{
  color:var(--rsl-text);
}
.ryme-support-launcher__new{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:100%;
  min-height:42px;
  padding:0 13px;
  border:1px solid var(--rsl-line);
  border-radius:11px;
  background:transparent;
  color:var(--rsl-text)!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:850;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.ryme-support-launcher__new:hover{
  border-color:color-mix(in srgb,#5271ff 48%,var(--rsl-line));
  background:color-mix(in srgb,#5271ff 8%,var(--rsl-bg-2));
  transform:translateY(-1px);
  text-decoration:none!important;
}
.ryme-support-launcher__ticket:focus-visible,
.ryme-support-launcher__new:focus-visible{
  outline:3px solid rgba(111,130,233,.45);
  outline-offset:3px;
}

@media (max-width:767px){
  .ryme-support-launcher__ticket{
    min-height:60px;
  }
  .ryme-support-launcher__ticket-title{
    max-width:195px;
  }
  .ryme-support-launcher__new{
    min-height:44px;
  }
}
