.wss-shortcut-toast {
  --wss-ink: #17211f;
  --wss-muted: #6a7370;
  --wss-line: #d9e1df;
  --wss-brand: #0f766e;
  --wss-brand-dark: #0b5f59;
  --wss-surface: #ffffff;

  position: fixed;
  left: max(20px, env(safe-area-inset-left));
  right: max(20px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 999999;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  min-height: 116px;
  padding: 20px 22px;
  color: var(--wss-ink);
  background: var(--wss-surface);
  border: 1px solid var(--wss-line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(23, 33, 31, 0.16);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  box-sizing: border-box;
}

.wss-shortcut-toast *,
.wss-shortcut-toast *::before,
.wss-shortcut-toast *::after {
  box-sizing: border-box;
}

.wss-shortcut-toast[hidden] {
  display: none;
}

.wss-shortcut-toast__icon {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--wss-brand);
}

.wss-shortcut-toast__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.wss-shortcut-toast__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wss-shortcut-toast__copy strong {
  color: var(--wss-ink);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.wss-shortcut-toast__copy span,
.wss-shortcut-toast__later {
  color: var(--wss-muted);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.35;
}

.wss-shortcut-toast__later,
.wss-shortcut-toast__save {
  min-width: 88px;
  min-height: 68px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
}

.wss-shortcut-toast__later {
  background: transparent;
}

.wss-shortcut-toast__save {
  background: var(--wss-brand);
  color: #ffffff;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 700;
}

.wss-shortcut-toast__save:hover {
  background: var(--wss-brand-dark);
}

.wss-shortcut-toast__save[disabled] {
  opacity: 0.78;
  cursor: wait;
}

@media (max-width: 640px) {
  .wss-shortcut-toast {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    grid-template-columns: 52px minmax(0, 1fr) 42px 64px;
    gap: 8px;
    min-height: 82px;
    padding: 10px;
  }

  .wss-shortcut-toast__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .wss-shortcut-toast__copy strong {
    font-size: 1.05rem;
  }

  .wss-shortcut-toast__copy span,
  .wss-shortcut-toast__later {
    font-size: 0.86rem;
  }

  .wss-shortcut-toast__later {
    min-width: 42px;
    min-height: 48px;
    padding: 0;
  }

  .wss-shortcut-toast__save {
    min-width: 64px;
    min-height: 52px;
    border-radius: 10px;
    padding: 0;
    font-size: 1.05rem;
  }
}
