:root {
  color-scheme: dark;
  --bg: #071116;
  --panel: rgba(12, 24, 31, 0.84);
  --panel-strong: rgba(15, 32, 42, 0.96);
  --glass: rgba(255, 255, 255, 0.07);
  --ink: #f4fbfb;
  --muted: #92aab2;
  --line: rgba(158, 190, 198, 0.18);
  --accent: #20d6b5;
  --accent-strong: #4df2d0;
  --cyan: #53b8ff;
  --violet: #9d7cff;
  --warn: #ffbd5a;
  --danger: #ff6b6b;
  --customer: rgba(78, 103, 116, 0.34);
  --ai: rgba(32, 214, 181, 0.13);
  --agent: rgba(83, 184, 255, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(32, 214, 181, 0.18), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(83, 184, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #071116 0%, #0d1b24 48%, #091318 100%);
  color: var(--ink);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-grid::before,
.ambient-grid::after {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  content: "";
  filter: blur(28px);
  opacity: 0.38;
  animation: floatGlow 14s ease-in-out infinite alternate;
}

.ambient-grid::before {
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(32, 214, 181, 0.34), transparent 65%);
}

.ambient-grid::after {
  right: -180px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(157, 124, 255, 0.28), transparent 65%);
  animation-delay: -5s;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(32, 214, 181, 0.38);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #2ba8ff);
  color: #03120f;
  padding: 10px 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(32, 214, 181, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

button svg,
.file-button svg,
.service-tags svg,
.chat-header svg,
.empty-card svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(32, 214, 181, 0.28);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.ghost-button,
.filter-row button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  box-shadow: none;
}

.ghost-button:hover,
.filter-row button:hover,
.filter-row button.active {
  border-color: rgba(32, 214, 181, 0.62);
  background: rgba(32, 214, 181, 0.12);
  color: var(--accent-strong);
}

.customer-page {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: clamp(10px, 3dvh, 28px);
}

.chat-shell {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(380px, 740px);
  width: min(1180px, 100%);
  height: min(800px, calc(100dvh - clamp(20px, 6dvh, 56px)));
  min-height: min(620px, calc(100dvh - 20px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  animation: riseIn 520ms ease both;
}

.feedback-shell {
  grid-template-columns: minmax(0, 1fr);
  width: min(1180px, calc(100vw - 56px));
  max-height: calc(100dvh - clamp(20px, 6dvh, 56px));
}

.feedback-shell .chat-panel {
  height: 100%;
  min-width: 0;
}

.feedback-shell .chat-header {
  padding: 22px 28px;
}

.feedback-shell .visitor-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  padding: 24px 28px;
}

.feedback-shell .messages {
  padding: 28px;
}

.feedback-shell .composer {
  padding: 18px 22px;
}

.feedback-shell .message {
  max-width: min(560px, 68%);
}

.brand-panel {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  padding: 42px;
  background:
    linear-gradient(160deg, rgba(13, 30, 39, 0.96), rgba(8, 18, 24, 0.96)),
    radial-gradient(circle at 30% 20%, rgba(32, 214, 181, 0.28), transparent 36%);
}

.brand-panel::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(32, 214, 181, 0.16);
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

.brand-panel::after {
  position: absolute;
  inset: auto -20% 18% -20%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(32, 214, 181, 0.58), transparent);
  animation: scanLine 4.5s linear infinite;
}

.brand-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(32, 214, 181, 0.52);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(32, 214, 181, 0.95), rgba(83, 184, 255, 0.9)),
    #20d6b5;
  color: #03120f;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 0 32px rgba(32, 214, 181, 0.34);
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: min(250px, 58vw);
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 0 20px rgba(32, 214, 181, 0.22));
}

.header-logo {
  width: 120px;
  max-width: 32vw;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.9);
}

.login-logo {
  width: 210px;
  max-width: 58vw;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 0 18px rgba(32, 214, 181, 0.18));
}

.sidebar-logo {
  width: 92px;
  max-width: 28vw;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 9px;
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.9);
}

.brand-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(32, 214, 181, 0.8);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(32, 214, 181, 0.28);
  border-radius: 999px;
  padding: 7px 11px;
  color: #c6fff2;
  background: rgba(32, 214, 181, 0.11);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.live-chip > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(32, 214, 181, 0.75);
  animation: pulseDot 1.8s ease-out infinite;
}

.live-chip > span:last-child {
  display: inline;
  width: auto;
  height: auto;
}

.brand-panel h1,
.login-card h1,
.conversation-sidebar h1 {
  margin: 0;
  letter-spacing: 0;
}

.brand-panel h1 {
  position: relative;
  z-index: 1;
  max-width: 8em;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.02;
}

.brand-panel h1 span {
  display: block;
}

.brand-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #bdd1d8;
  line-height: 1.75;
}

.ai-orbit {
  position: relative;
  z-index: 1;
  width: min(220px, 72vw);
  aspect-ratio: 1;
  margin: 4px auto;
}

.orbit-ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(32, 214, 181, 0.22);
  border-radius: 50%;
}

.ring-one {
  animation: orbitSpin 16s linear infinite;
}

.ring-two {
  inset: 5%;
  border-color: rgba(83, 184, 255, 0.2);
  transform: rotateX(62deg) rotateZ(18deg);
  animation: orbitSpin 24s linear infinite reverse;
}

.orbit-core {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 214, 181, 0.46);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 214, 181, 0.3), rgba(83, 184, 255, 0.1) 70%, transparent);
  color: #dffff7;
  box-shadow: 0 0 42px rgba(32, 214, 181, 0.26), inset 0 0 22px rgba(32, 214, 181, 0.18);
}

.orbit-core svg {
  width: 46%;
  height: 46%;
}

.orbit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(32, 214, 181, 0.9);
}

.node-one {
  top: 12%;
  left: 52%;
  animation: floatNode 3.6s ease-in-out infinite;
}

.node-two {
  right: 12%;
  bottom: 28%;
  background: var(--cyan);
  animation: floatNode 4.2s ease-in-out infinite -1.1s;
}

.node-three {
  bottom: 18%;
  left: 20%;
  background: var(--violet);
  animation: floatNode 4.8s ease-in-out infinite -1.8s;
}

.service-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 10px;
  color: #edf5f4;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.signal-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin-top: 2px;
}

.signal-list > span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 8px 10px;
  color: #aac4ca;
  background: rgba(255, 255, 255, 0.045);
}

.signal-list > span > span {
  text-align: right;
}

.signal-list strong {
  color: #e8fffb;
}

.chat-panel,
.agent-chat {
  display: flex;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  background: rgba(8, 18, 24, 0.72);
}

.chat-header,
.agent-chat-header,
.conversation-sidebar header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.035);
}

.chat-header strong,
.agent-chat-header strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-header span,
.agent-chat-header span,
.conversation-sidebar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.compact-actions {
  align-items: center;
  flex-shrink: 0;
}

.language-field {
  display: inline-grid;
  width: min(190px, 42vw);
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  min-width: 0;
}

.language-field select {
  min-height: 38px;
  padding: 8px 32px 8px 10px;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%) calc(100% - 18px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--accent) 50%, transparent 50%) calc(100% - 12px) 52% / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.06);
  appearance: none;
}

.language-field select option {
  color: #102027;
  background: #ffffff;
}

.language-field select option:checked {
  color: #03120f;
  background: #9cc9ff;
}

.login-language {
  width: auto;
  margin: 12px 20px 0;
}

.support-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 16, 20, 0.42);
}

.support-steps span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 700;
}

.support-steps span.active {
  border-color: rgba(32, 214, 181, 0.36);
  color: #dffff8;
  background: rgba(32, 214, 181, 0.12);
}

.support-steps i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px rgba(32, 214, 181, 0.45);
}

.visitor-form,
.login-card form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.form-helper {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(32, 214, 181, 0.7);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 0 0 4px rgba(32, 214, 181, 0.1);
}

textarea {
  max-height: 16dvh;
  resize: vertical;
}

.composer textarea {
  min-height: 84px;
}

.messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  scrollbar-color: rgba(32, 214, 181, 0.5) rgba(255, 255, 255, 0.06);
}

.message {
  position: relative;
  max-width: min(560px, 68%);
  margin-bottom: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--customer);
  color: #e8f5f6;
  line-height: 1.58;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  animation: messageIn 240ms ease both;
}

.message.ai,
.message.system {
  border-color: rgba(32, 214, 181, 0.18);
  background: var(--ai);
}

.message.agent {
  margin-left: auto;
  border-color: rgba(83, 184, 255, 0.22);
  background: var(--agent);
}

.message.customer.mine {
  margin-left: auto;
  border-color: rgba(32, 214, 181, 0.24);
  background: rgba(32, 214, 181, 0.18);
}

.message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.message-meta::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  box-shadow: 0 0 10px rgba(32, 214, 181, 0.75);
}

.message.customer .message-meta::before {
  background: var(--warn);
  box-shadow: 0 0 10px rgba(255, 189, 90, 0.7);
}

.message.agent .message-meta::before {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(83, 184, 255, 0.8);
}

.attachments {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.attachments img {
  max-width: min(320px, 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.attachments a {
  color: var(--accent-strong);
  word-break: break-all;
}

.composer {
  position: sticky;
  bottom: 0;
  z-index: 6;
  flex: 0 0 auto;
  max-height: min(32dvh, 300px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  padding: 14px;
  background: rgba(12, 24, 31, 0.96);
  box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.18);
}

.composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.composer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.composer-meta .warn,
#messageCounter.warn,
#agentMessageCounter.warn {
  color: var(--warn);
}

.file-button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.file-button:hover {
  border-color: rgba(32, 214, 181, 0.62);
  color: var(--accent-strong);
  background: rgba(32, 214, 181, 0.1);
}

.file-button input {
  display: none;
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.file-preview span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.05);
}

.quick-panel {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid rgba(32, 214, 181, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(32, 214, 181, 0.09), rgba(83, 184, 255, 0.05)),
    rgba(5, 18, 22, 0.42);
  box-shadow: inset 0 0 18px rgba(32, 214, 181, 0.05);
}

.quick-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quick-header-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-panel-header strong {
  color: var(--ink);
  font-size: 13px;
  text-transform: none;
}

.quick-row,
.emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emoji-row {
  display: grid;
}

.emoji-row[hidden] {
  display: none;
}

.emoji-toggle[aria-expanded="true"] {
  border-color: rgba(32, 214, 181, 0.72);
  color: var(--accent-strong);
  background: rgba(32, 214, 181, 0.12);
}

.quick-toggle[aria-expanded="true"] {
  border-color: rgba(83, 184, 255, 0.62);
  color: #bfe6ff;
  background: rgba(83, 184, 255, 0.12);
}

.sticker-pack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 8px;
}

.emoji-basic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.quick-chip,
.emoji-chip,
.sticker-chip,
.mini-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.quick-chip:hover,
.emoji-chip:hover,
.sticker-chip:hover,
.mini-button:hover {
  transform: translateY(-1px);
  border-color: rgba(32, 214, 181, 0.7);
  color: var(--accent-strong);
  background: rgba(32, 214, 181, 0.12);
  box-shadow: 0 8px 18px rgba(32, 214, 181, 0.08);
}

.quick-chip {
  max-width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
}

.emoji-chip {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
}

.sticker-chip {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 46px;
  overflow: hidden;
  padding: 7px 9px;
  text-align: left;
  isolation: isolate;
}

.sticker-chip::before {
  position: absolute;
  inset: -40% auto -40% -55%;
  z-index: -1;
  width: 52%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(18deg);
  animation: stickerSweep 3.8s ease-in-out infinite;
  content: "";
}

.sticker-chip::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 24%, rgba(32, 214, 181, 0.18), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(83, 184, 255, 0.14), transparent 36%);
  opacity: 0.85;
  content: "";
}

.sticker-chip span:last-child {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticker-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(32, 214, 181, 0.24);
  border-radius: 9px;
  background: rgba(2, 14, 17, 0.52);
  font-size: 19px;
  box-shadow: 0 0 16px rgba(32, 214, 181, 0.12);
}

.sticker-chip.wave .sticker-icon {
  animation: stickerWave 1.5s ease-in-out infinite;
}

.sticker-chip.scan .sticker-icon {
  animation: stickerScan 1.8s ease-in-out infinite;
}

.sticker-chip.pulse .sticker-icon {
  animation: stickerPulse 1.35s ease-in-out infinite;
}

.sticker-chip.signal .sticker-icon {
  animation: stickerSignal 1.7s ease-in-out infinite;
}

.sticker-chip.float .sticker-icon {
  animation: stickerFloat 2s ease-in-out infinite;
}

.sticker-chip.spark .sticker-icon {
  animation: stickerSpark 1.4s ease-in-out infinite;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  font-size: 12px;
}

.mini-button.primary {
  border-color: rgba(32, 214, 181, 0.72);
  color: #021512;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  font-weight: 700;
}

.mini-button.danger {
  border-color: rgba(255, 99, 99, 0.42);
  color: #ffb7b7;
}

.quick-empty {
  color: var(--muted);
  font-size: 13px;
}

.reply-manager {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reply-manager-form {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.reply-manager-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

.reply-manager-actions {
  display: flex;
  gap: 8px;
}

.reply-manager-list {
  display: grid;
  gap: 8px;
}

.reply-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.reply-item strong {
  display: block;
  margin-bottom: 4px;
}

.reply-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.reply-actions {
  display: flex;
  align-items: start;
  gap: 6px;
}

.admin-page {
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --glass: #f7f8f8;
  --ink: #202329;
  --muted: #8a9099;
  --line: #e4e7ea;
  --accent: #11b86b;
  --accent-strong: #0b9f5d;
  --cyan: #1c9fe8;
  --danger: #d94b4b;
  --customer: #95ed98;
  --ai: #ffffff;
  --agent: #95ed98;
  --shadow: 0 18px 48px rgba(31, 45, 52, 0.18);
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(8px, 2.6dvh, 22px);
  background:
    linear-gradient(135deg, rgba(177, 207, 198, 0.82), rgba(230, 233, 232, 0.96) 34%, rgba(245, 246, 246, 0.98));
  color: var(--ink);
}

.login-card {
  width: min(440px, calc(100% - 32px));
  margin: 10vh auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  animation: riseIn 520ms ease both;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px 4px;
}

.login-brand p {
  margin: 6px 0 0;
  color: var(--muted);
}

.login-card h1 {
  font-size: 24px;
}

.error-text {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
}

.support-console {
  display: grid;
  grid-template-columns: 72px 360px minmax(0, 1fr);
  height: calc(100dvh - clamp(16px, 5.2dvh, 44px));
  min-height: min(680px, calc(100dvh - 16px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  background: #f7f7f7;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.support-console .agent-chat {
  min-height: 0;
}

.console-rail {
  display: flex;
  align-items: center;
  min-height: 0;
  flex-direction: column;
  gap: 18px;
  padding: 22px 12px 18px;
  border-right: 1px solid #d8dde0;
  background: linear-gradient(180deg, #d9e4e1, #b9c4cb);
}

.rail-avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 45, 52, 0.16);
}

.rail-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: #586067;
  background: transparent;
  box-shadow: none;
}

.rail-icon svg {
  width: 24px;
  height: 24px;
}

.rail-icon:hover,
.rail-icon.active {
  color: #ffffff;
  background: #11b86b;
  box-shadow: 0 12px 24px rgba(17, 184, 107, 0.26);
  transform: none;
}

.rail-bottom {
  margin-top: auto;
}

.conversation-sidebar {
  display: flex;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  border-right: 1px solid #dfe3e6;
  background: #ededee;
}

.conversation-sidebar h1 {
  display: flex;
  align-items: center;
  font-size: 15px;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.conversation-sidebar header {
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #dde1e4;
  background: #ededee;
}

.conversation-sidebar header > div {
  min-width: 0;
}

.conversation-sidebar header .compact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  align-items: end;
}

.ops-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid #dde1e4;
}

.ops-strip div {
  border: 1px solid #dde3e5;
  border-radius: 8px;
  padding: 7px 6px;
  background: #f7f8f8;
}

.ops-strip strong {
  display: block;
  color: var(--accent-strong);
  font-size: 18px;
}

.ops-strip span {
  margin: 3px 0 0;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 8px 12px 10px;
  border-bottom: 1px solid #dde1e4;
}

.conversation-search {
  padding: 12px 14px 8px;
  border-bottom: 0;
}

.conversation-search input {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  color: #202329;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #e0e4e7;
}

.filter-row button {
  min-height: 30px;
  padding: 6px 5px;
  border-color: #dde3e5;
  border-radius: 8px;
  color: #626a72;
  background: #ffffff;
  font-size: 12px;
}

.conversation-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ededee;
}

.conversation-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #dde1e4;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 14px 14px;
  text-align: left;
  box-shadow: none;
}

.conversation-item:hover,
.conversation-item.active {
  color: #ffffff;
  background: #11b86b;
  transform: none;
}

.conversation-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #18c886, #1594d2);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.conversation-main {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.conversation-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: inherit;
  font-size: 17px;
  font-weight: 700;
}

.conversation-title > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-time {
  flex: 0 0 auto;
  color: #989fa7;
  font-size: 12px;
  font-weight: 500;
}

.conversation-item.active .conversation-time,
.conversation-item.active .conversation-snippet,
.conversation-item.active .badge,
.conversation-item.active .conversation-tags span,
.conversation-item:hover .conversation-time,
.conversation-item:hover .conversation-snippet,
.conversation-item:hover .badge,
.conversation-item:hover .conversation-tags span {
  border-color: rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.15);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  padding: 3px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.badge.high,
.badge.human {
  border-color: rgba(255, 107, 107, 0.34);
  background: rgba(255, 107, 107, 0.12);
  color: #ffb4b4;
}

.badge.open,
.badge.normal {
  border-color: rgba(32, 214, 181, 0.28);
  color: #bdfbef;
}

.badge.archived {
  border-color: rgba(160, 141, 255, 0.42);
  background: rgba(160, 141, 255, 0.12);
  color: #d4ccff;
}

.conversation-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.conversation-tags span,
.tag-list span {
  width: fit-content;
  border: 1px solid rgba(83, 184, 255, 0.24);
  border-radius: 999px;
  padding: 3px 8px;
  color: #cceeff;
  background: rgba(83, 184, 255, 0.09);
  font-size: 12px;
}

.tag-list .empty-tag {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.conversation-snippet {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.admin-page .agent-chat {
  background: #f7f7f7;
}

.admin-page .agent-chat-header {
  min-height: 86px;
  padding: 22px 32px;
  border-bottom: 1px solid #e7e8ea;
  background: #ffffff;
}

.admin-page .agent-chat-header strong {
  color: #1f2328;
  font-size: 24px;
  font-weight: 650;
}

.admin-page .agent-chat-header span {
  color: #8b9099;
}

.admin-page .header-actions .ghost-button {
  min-height: 34px;
  padding: 7px 12px;
  border-color: #d9dde1;
  color: #2d3339;
  background: #ffffff;
}

.admin-page .header-actions .ghost-button:hover:not(:disabled) {
  border-color: #11b86b;
  color: #0b8d54;
  background: #f0fbf6;
}

.conversation-tools {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 10px 32px;
  border-bottom: 1px solid #e7e8ea;
  background: #fbfbfb;
}

.conversation-tools[hidden] {
  display: none;
}

.conversation-tools > div {
  display: grid;
  gap: 7px;
}

.conversation-tools strong,
.tag-editor span {
  color: var(--muted);
  font-size: 12px;
}

.tag-editor {
  min-width: 0;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.admin-page #agentMessages {
  padding: 34px 48px;
  background: #f7f7f7;
}

.admin-page .message {
  max-width: min(620px, 62%);
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  color: #111820;
  background: #ffffff;
  box-shadow: 0 1px 1px rgba(31, 45, 52, 0.08);
}

.admin-page .message.customer,
.admin-page .message.agent {
  margin-left: auto;
  background: #95ed98;
}

.admin-page .message.ai,
.admin-page .message.system {
  margin-right: auto;
  background: #ffffff;
}

.admin-page .message-meta {
  color: #7d858d;
}

.admin-page .composer {
  max-height: 280px;
  padding: 14px 18px 16px;
  border-top: 1px solid #e1e4e7;
  background: #ffffff;
  box-shadow: 0 -8px 22px rgba(31, 45, 52, 0.06);
}

.admin-page .quick-panel {
  border: 0;
  padding: 0 0 8px;
  background: transparent;
  box-shadow: none;
}

.admin-page .quick-panel-header {
  justify-content: flex-start;
}

.admin-page .mini-button {
  border-color: #dce1e4;
  color: #4e565e;
  background: #f7f8f8;
  box-shadow: none;
}

.admin-page .mini-button:hover {
  border-color: #11b86b;
  color: #0b8d54;
  background: #eefbf5;
  transform: none;
}

.admin-page .composer textarea {
  min-height: 96px;
  max-height: 128px;
  border: 0;
  border-radius: 0;
  padding: 8px 2px;
  color: #1f2328;
  background: #ffffff;
  box-shadow: none;
  resize: none;
}

.admin-page .composer textarea:focus {
  border-color: transparent;
  background: #ffffff;
  box-shadow: none;
}

.admin-page .composer-meta {
  color: #9aa1a9;
}

.admin-page .composer-actions {
  align-items: center;
}

.admin-page .file-button {
  border: 0;
  padding: 8px 10px;
  color: #555d65;
  background: transparent;
}

.admin-page .file-button:hover {
  color: #0b8d54;
  background: #eefbf5;
}

.admin-page .composer-actions button[type="submit"] {
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: #e9ecef;
  color: #8b9099;
  box-shadow: none;
}

.admin-page .composer-actions button[type="submit"]:not(:disabled) {
  background: #11b86b;
  color: #ffffff;
}

.empty-state {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.empty-card {
  display: grid;
  place-items: center;
  max-width: 340px;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}

.empty-card svg {
  width: 58px;
  height: 58px;
  color: var(--accent);
  filter: drop-shadow(0 0 18px rgba(32, 214, 181, 0.35));
  animation: floatNode 4s ease-in-out infinite;
}

.empty-card strong {
  color: var(--ink);
}

.manual-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 8, 12, 0.72);
  backdrop-filter: blur(16px);
  animation: riseIn 180ms ease both;
}

.manual-overlay[hidden] {
  display: none;
}

.manual-panel {
  width: min(820px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: hidden;
  border: 1px solid rgba(32, 214, 181, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(32, 214, 181, 0.08), rgba(83, 184, 255, 0.07)),
    rgba(8, 18, 24, 0.96);
  box-shadow: var(--shadow);
}

.manual-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.manual-panel header strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
}

.manual-panel header span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.manual-content {
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 18px;
}

.manual-content article {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.manual-content h2 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 16px;
}

.manual-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.modal-open {
  overflow: hidden;
}

.sidebar-empty {
  padding: 28px 16px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 214, 181, 0.75);
  }
  80% {
    box-shadow: 0 0 0 10px rgba(32, 214, 181, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 214, 181, 0);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatNode {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(60px, 30px, 0) scale(1.12);
  }
}

@keyframes scanLine {
  from {
    transform: translateY(-180px);
  }
  to {
    transform: translateY(180px);
  }
}

@keyframes stickerSweep {
  0%,
  45% {
    transform: translateX(0) rotate(18deg);
  }
  80%,
  100% {
    transform: translateX(330%) rotate(18deg);
  }
}

@keyframes stickerWave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(12deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(8deg);
  }
}

@keyframes stickerScan {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(3px) scale(1.08);
  }
}

@keyframes stickerPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(32, 214, 181, 0.18);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 22px rgba(32, 214, 181, 0.42);
  }
}

@keyframes stickerSignal {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(83, 184, 255, 0));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(83, 184, 255, 0.7));
  }
}

@keyframes stickerFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes stickerSpark {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.12) rotate(-8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 900px) {
  .customer-page,
  .admin-page {
    padding: 0;
  }

  .chat-shell,
  .support-console {
    grid-template-columns: 1fr;
    height: 100dvh;
    min-height: 100dvh;
    border-radius: 0;
  }

  .chat-shell {
    width: 100%;
    max-height: 100dvh;
  }

  .support-console {
    grid-template-columns: 60px minmax(300px, 38vw) minmax(420px, 1fr);
    grid-template-rows: minmax(0, 1fr);
    overflow-x: auto;
  }

  .feedback-shell {
    width: 100%;
    max-height: 100dvh;
  }

  .feedback-shell .visitor-form {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: auto;
    padding: 28px;
  }

  .brand-logo {
    width: min(220px, 64vw);
  }

  .header-logo {
    width: 104px;
  }

  .brand-panel h1 {
    max-width: none;
    font-size: 38px;
  }

  .login-logo {
    width: 190px;
  }

  .ai-orbit {
    width: 210px;
  }

  .conversation-sidebar {
    min-height: 0;
    max-height: none;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .agent-chat {
    min-height: 0;
  }

  .message {
    max-width: min(520px, 76%);
  }

  .reply-manager-form,
  .reply-item {
    grid-template-columns: 1fr;
  }

  .reply-actions {
    flex-wrap: wrap;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .signal-list {
    display: none;
  }

  .brand-panel h1 {
    font-size: 40px;
  }
}

@media (max-width: 560px) {
  body {
    background:
      radial-gradient(circle at 18% 8%, rgba(32, 214, 181, 0.16), transparent 26%),
      linear-gradient(135deg, #071116 0%, #0d1b24 100%);
  }

  .chat-header,
  .agent-chat-header,
  .conversation-sidebar header,
  .composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .feedback-shell .chat-header,
  .feedback-shell .visitor-form,
  .feedback-shell .messages,
  .feedback-shell .composer {
    padding: 14px;
  }

  .feedback-shell .message {
    max-width: min(520px, 82%);
  }

  .chat-header,
  .agent-chat-header,
  .conversation-sidebar header {
    padding: 14px;
  }

  .brand-panel {
    gap: 12px;
    padding: 20px;
  }

  .brand-logo {
    width: min(190px, 70vw);
  }

  .header-logo,
  .sidebar-logo {
    width: 92px;
  }

  .login-logo {
    width: 170px;
  }

  .brand-panel::before {
    inset: 12px;
  }

  .brand-panel h1 {
    font-size: 34px;
  }

  .brand-panel p {
    line-height: 1.55;
  }

  .ai-orbit {
    width: 150px;
    margin: 0 auto;
  }

  .service-tags {
    gap: 6px;
  }

  .service-tags span {
    padding: 6px 8px;
    font-size: 12px;
  }

  .language-field {
    width: 100%;
  }

  .compact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    width: 100%;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .ops-strip {
    grid-template-columns: 1fr;
  }

  .visitor-form,
  .login-card form,
  .messages,
  .composer {
    padding: 14px;
  }

  .message {
    max-width: 88%;
    padding: 12px;
  }

  .login-card {
    width: calc(100% - 24px);
    margin: 24px auto;
  }

  .support-console {
    grid-template-columns: 54px minmax(260px, 76vw) minmax(320px, 1fr);
    height: 100dvh;
    min-height: 100dvh;
  }

  .console-rail {
    padding: 14px 6px;
  }

  .rail-avatar,
  .rail-icon {
    width: 38px;
    height: 38px;
  }

  .admin-page .agent-chat-header {
    min-height: 72px;
    padding: 14px 16px;
  }

  .admin-page #agentMessages {
    padding: 18px 16px;
  }

  .admin-page .message {
    max-width: min(300px, 78%);
  }

  .support-steps {
    grid-template-columns: 1fr;
    padding: 10px 14px;
  }

  .conversation-sidebar {
    max-height: none;
  }

  .conversation-tools {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .conversation-sidebar header .compact-actions {
    grid-template-columns: 1fr;
  }

  .manual-overlay {
    padding: 12px;
  }

  .manual-panel header {
    align-items: stretch;
    flex-direction: column;
  }

  .conversation-item {
    padding: 12px 14px;
  }

  .quick-panel {
    padding: 9px;
  }

  .quick-panel-header,
  .reply-manager-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-chip {
    width: 100%;
  }

  .emoji-chip {
    width: 32px;
    height: 32px;
  }

  .sticker-pack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticker-chip {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 42px;
    padding: 6px 8px;
  }

  .sticker-icon {
    width: 28px;
    height: 28px;
    font-size: 17px;
  }
}
