/*
 * ============================================================================
 *  THE STYLES OF THE MORE MENU
 * ============================================================================
 *
 *  The button that opens the three quiet pages of the site: the privacy
 *  policy, the terms of service and the contact page.
 *
 * ============================================================================
 */

.tsite-more-btn {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted, rgba(255, 255, 255, 0.62));
  font: 500 14px/1 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.tsite-more-btn:hover {
  color: var(--text, #f2f2f7);
  background: var(--panel, rgba(255, 255, 255, 0.07));
}

.tsite-more-btn:focus-visible {
  outline: 2px solid #7c6cff;
  outline-offset: 2px;
}

/* ------------------------------------------------------------- the panel */

.tsite-more-panel {
  position: fixed;
  z-index: 2147483007;
  width: 232px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(16, 16, 24, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: tsite-more-rise 0.16s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.tsite-more-panel[hidden] {
  display: none;
}

@keyframes tsite-more-rise {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.tsite-more-list {
  display: grid;
  gap: 1px;
}

.tsite-more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #e8e8ef;
  text-decoration: none;
  font: 500 13.5px/1.35 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  transition: background 0.14s;
}

.tsite-more-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.tsite-more-item:focus-visible {
  outline: 2px solid #7c6cff;
  outline-offset: -2px;
}

.tsite-more-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(124, 108, 255, 0.16);
  color: #a78bfa;
}

.tsite-more-icon svg {
  width: 15px;
  height: 15px;
}

.tsite-more-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ------------------------------------------------------- the foot of the
   menu of the apps: the three pages, one under the other */

.tsite-menu-more {
  display: grid;
  gap: 1px;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.tsite-menu-more-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font: 500 12.5px/1.35 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  transition: background 0.14s, color 0.14s;
}

.tsite-menu-more-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #f2f2f7;
}

.tsite-menu-more-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(124, 108, 255, 0.16);
  color: #a78bfa;
}

.tsite-menu-more-icon svg {
  width: 12px;
  height: 12px;
}

/* ---------------------------------------------------------------- phone */

@media (max-width: 720px) {
  /* On a phone the bar of the navigation is hidden, so the button goes
     with it. The three pages are then found in the list of the apps. */
  .tsite-more-btn {
    display: none;
  }
}
