/* ============================================================
   ar skin
   Every colour comes from skin.js (--ar-* and the shared tokens),
   so both themes repaint from one place.
   ============================================================ */

html body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  background: var(--ar-bg);
  color: var(--ar-text);
  -webkit-font-smoothing: antialiased;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: inherit;
  color: var(--ar-heading);
}

.ar-shell button,
.ar-shell input,
.ar-app button,
.ar-app input,
.ar-auth button,
.ar-auth input {
  font-family: inherit;
}

.ar-shell,
.ar-app {
  background: var(--ar-bg);
  color: var(--ar-text);
}

.ar-shell .container {
  width: 92%;
  max-width: 1160px;
}

/* ─── Atoms ──────────────────────────────────────────────── */

.ar-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ar-accent);
}

.ar-logo-mark {
  display: block;
  width: auto;
  height: 34px;
  flex: none;
}

.ar-logo-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ar-heading);
  white-space: nowrap;
}

.ar-btn,
.ar-btn:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--ar-accent);
  color: var(--ar-accent-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ar-btn:hover {
  background: var(--ar-accent-hover);
  color: var(--ar-accent-text);
}

.ar-btn:active {
  transform: translateY(1px);
}

.ar-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.ar-btn .ti {
  font-size: 18px;
}

.ar-btn-sm,
.ar-btn-sm:focus {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
}

.ar-btn-lg,
.ar-btn-lg:focus {
  height: 52px;
  padding: 0 30px;
  font-size: 16px;
}

.ar-btn-block,
.ar-btn-block:focus {
  display: flex;
  width: 100%;
}

.ar-btn-ghost,
.ar-btn-ghost:focus {
  background: var(--ar-surface-2);
  color: var(--ar-heading);
}

.ar-btn-ghost:hover {
  background: var(--ar-surface-3);
  color: var(--ar-heading);
}

.ar-btn-soft,
.ar-btn-soft:focus {
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
}

.ar-btn-soft:hover {
  background: var(--ar-accent);
  color: var(--ar-accent-text);
}

.ar-btn-glow {
  box-shadow: var(--ar-shadow-accent);
}

.ar-icon-btn,
.ar-icon-btn:focus {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  padding: 0;
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  background: var(--ar-surface);
  color: var(--ar-heading);
  font-size: 19px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ar-icon-btn:hover {
  background: var(--ar-surface-2);
}

.ar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ar-accent-ink);
  font-size: 14px;
  font-weight: 600;
}

.ar-link:hover {
  text-decoration: underline;
}

.ar-accent-text {
  color: var(--ar-accent-bright);
}

.ar-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ar-muted);
}

.ar-up {
  color: var(--ar-up);
}

.ar-down {
  color: var(--ar-down);
}

.ar-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.ar-pill-up {
  background: var(--ar-up-soft);
  color: var(--ar-up);
}

.ar-pill-down {
  background: var(--ar-down-soft);
  color: var(--ar-down);
}

.ar-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ar-tag .ti {
  font-size: 14px;
}

.ar-tag-up {
  background: var(--ar-up-soft);
  color: var(--ar-up);
}

.ar-tag-down {
  background: var(--ar-down-soft);
  color: var(--ar-down);
}

.ar-tag-warn {
  background: var(--ar-warn-soft);
  color: var(--ar-warn);
}

.ar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--ar-accent-ring);
  border-radius: 999px;
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ar-accent-bright);
  box-shadow: 0 0 0 0 var(--ar-accent-ring);
  animation: ar-pulse 2s ease-out infinite;
}

@keyframes ar-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--ar-accent-ring);
  }
  70% {
    box-shadow: 0 0 0 7px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.ar-tone-green { background: var(--ar-green-soft); color: var(--ar-green); }
.ar-tone-blue { background: var(--ar-blue-soft); color: var(--ar-blue); }
.ar-tone-purple { background: var(--ar-purple-soft); color: var(--ar-purple); }
.ar-tone-amber { background: var(--ar-amber-soft); color: var(--ar-amber); }
.ar-tone-pink { background: var(--ar-pink-soft); color: var(--ar-pink); }
.ar-tone-teal { background: var(--ar-teal-soft); color: var(--ar-teal); }
.ar-tone-indigo { background: var(--ar-indigo-soft); color: var(--ar-indigo); }

.ar-solid-green { background: var(--ar-green); color: var(--ar-on-color); }
.ar-solid-blue { background: var(--ar-blue); color: var(--ar-on-color); }
.ar-solid-purple { background: var(--ar-purple); color: var(--ar-on-color); }
.ar-solid-amber { background: var(--ar-amber); color: var(--ar-on-color); }
.ar-solid-pink { background: var(--ar-pink); color: var(--ar-on-color); }
.ar-solid-teal { background: var(--ar-teal); color: var(--ar-on-color); }

.ar-bg-green { background: var(--ar-green); }
.ar-bg-blue { background: var(--ar-blue); }
.ar-bg-purple { background: var(--ar-purple); }
.ar-bg-amber { background: var(--ar-amber); }
.ar-bg-pink { background: var(--ar-pink); }
.ar-bg-teal { background: var(--ar-teal); }

.ar-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ar-toggle button,
.ar-toggle button:focus {
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ar-text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ar-toggle button:hover {
  background: var(--ar-surface-2);
  color: var(--ar-heading);
}

.ar-toggle button.active,
.ar-toggle button.active:focus {
  background: var(--ar-accent);
  color: var(--ar-accent-text);
}

.ar-toggle-sm button,
.ar-toggle-sm button:focus,
.ar-toggle-sm button.active:focus {
  padding: 8px 14px;
  font-size: 14px;
}

.ar-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid color-mix(in srgb, var(--ar-accent-text) 35%, transparent);
  border-top-color: var(--ar-accent-text);
  border-radius: 50%;
  animation: ar-spin 0.7s linear infinite;
}

@keyframes ar-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ar-live-dot {
    animation: none;
  }

  .ar-spinner {
    animation-duration: 2.4s;
  }
}

/* ─── Guest nav and drawer ───────────────────────────────── */

.ar-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--ar-nav-bg);
  border-bottom: 1px solid var(--ar-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ar-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.ar-brand {
  display: inline-flex;
  align-items: center;
}

.ar-nav-links {
  display: flex;
  gap: 30px;
}

.ar-nav-links a {
  color: var(--ar-text);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.ar-nav-links a:hover {
  color: var(--ar-heading);
}

.ar-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ar-nav-signin {
  color: var(--ar-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 0 6px;
}

.ar-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.ar-drawer-overlay {
  position: absolute;
  inset: 0;
  background: var(--ar-overlay);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ar-drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: min(320px, 86vw);
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
}

.ar-drawer-open {
  pointer-events: auto;
}

.ar-drawer-open .ar-drawer-overlay {
  opacity: 1;
}

.ar-drawer-open .ar-drawer-panel {
  transform: translateX(0);
}

.ar-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ar-border);
}

.ar-drawer-links {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 12px;
}

.ar-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--ar-heading);
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
}

.ar-drawer-links a:hover {
  background: var(--ar-surface-2);
}

.ar-drawer-links .ti {
  font-size: 20px;
  color: var(--ar-accent-ink);
}

.ar-drawer-cta {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid var(--ar-border);
}

.ar-nav-actions .ar-top-btn,
.ar-nav-actions .ar-top-btn:focus {
  height: 40px;
}

.ar-drawer-lang {
  padding: 0 12px 12px;
}

.ar-lang-toggle,
.ar-lang-toggle:focus {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  background: var(--ar-surface-2);
  color: var(--ar-heading);
  font-size: 15.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.ar-lang-toggle .ti {
  font-size: 20px;
  color: var(--ar-accent-ink);
}

.ar-lang-toggle .ti:last-child {
  margin-left: auto;
  font-size: 16px;
  color: var(--ar-muted);
}

.ar-lang-items {
  max-height: 240px;
  margin: 6px 0 0;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  background: var(--ar-surface);
}

.ar-lang-items a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ar-text);
  font-size: 14.5px;
  cursor: pointer;
}

.ar-lang-items a:hover,
.ar-lang-items a.active {
  background: var(--ar-surface-2);
  color: var(--ar-heading);
}

/* ─── Hero ───────────────────────────────────────────────── */

.ar-hero {
  padding: 80px 0 90px;
  background: radial-gradient(700px 360px at 8% 0%, var(--ar-glow), transparent 70%),
    radial-gradient(600px 300px at 95% 20%, var(--ar-glow), transparent 70%);
}

.ar-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}

.ar-hero h1 {
  margin: 22px 0 20px;
  font-size: 68px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -2.5px;
}

.ar-hero h1 .ar-accent-text {
  display: block;
}

.ar-hero .ar-lead {
  max-width: 540px;
  margin: 0;
}

.ar-hero-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 30px 0 26px;
  padding: 6px;
  border: 1px solid var(--ar-border);
  border-radius: 14px;
  background: var(--ar-surface-2);
}

.ar-hero-form input[type]:not(.browser-default) {
  flex: 1;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--ar-heading);
  font-size: 15px;
}

.ar-hero-form input[type]:not(.browser-default):focus:not([readonly]) {
  border: 0;
  box-shadow: none;
}

.ar-hero-form input::placeholder,
.ar-field input::placeholder {
  color: var(--ar-faint);
  font-weight: 400;
  text-transform: none;
}

.ar-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ar-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--ar-border);
  border-radius: 999px;
  background: var(--ar-surface);
  color: var(--ar-heading);
  font-size: 14.5px;
  font-weight: 600;
}

.ar-chip-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 15px;
}

.row.ar-ticker-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 30px -8px 0;
}

.row.ar-ticker-grid > .col {
  padding: 8px;
}

.ar-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--ar-border);
  border-radius: 16px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ar-ticker:hover {
  transform: translateY(-2px);
  border-color: var(--ar-accent-ring);
}

.ar-ticker-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-logo-bg);
}

.ar-ticker-body {
  flex: 1;
  min-width: 0;
}

.ar-ticker-body small {
  display: block;
  color: var(--ar-muted);
  font-size: 13px;
  font-weight: 600;
}

.ar-ticker-body b {
  display: block;
  color: var(--ar-heading);
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Sections ───────────────────────────────────────────── */

.ar-section {
  padding: 90px 0;
}

.ar-section-alt {
  background: var(--ar-bg-alt);
}

.ar-section-head {
  margin-bottom: 40px;
}

.ar-section-head h2 {
  margin: 0 0 10px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
}

.ar-section-head p {
  margin: 0;
  color: var(--ar-muted);
  font-size: 17px;
}

.ar-section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* Top markets table */

.ar-table {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--ar-border);
  border-radius: 16px;
  background: var(--ar-surface);
}

.ar-mrow {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 170px 150px 130px;
  align-items: center;
  min-height: 74px;
  padding: 0 22px;
  border-bottom: 1px solid var(--ar-border);
}

.ar-mrow-head {
  min-height: 50px;
  background: var(--ar-surface-2);
  color: var(--ar-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-table .collection {
  margin: 0;
}

.ar-table .collection .collection-item,
.ar-table .collection .collection-item:last-child {
  margin: 0;
  padding: 0 22px;
  border-radius: 0;
  border-bottom: 1px solid var(--ar-border);
  background: transparent;
  line-height: 1.4;
}

.ar-table .collection .collection-item:last-child {
  border-bottom: 0;
}

.ar-table .collection .collection-item:hover {
  background: var(--ar-surface-2);
}

.ar-mrow-rank {
  color: var(--ar-muted);
  font-weight: 600;
}

.ar-mrow-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ar-mrow-name img {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-logo-bg);
}

.ar-mrow-name b {
  display: block;
  color: var(--ar-heading);
  font-size: 15.5px;
  font-weight: 600;
}

.ar-mrow-name small {
  display: block;
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-mrow-price {
  color: var(--ar-heading);
  font-weight: 700;
  text-align: right;
}

.ar-mrow-change {
  text-align: center;
}

.ar-mrow-action {
  text-align: right;
}

/* Why trade with us */

.row.ar-center-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}

.row.ar-center-row > .col {
  display: flex;
  margin-left: 0;
  margin-bottom: 20px;
}

.ar-feature {
  flex: 1;
  min-height: 240px;
  padding: 26px 24px;
  border: 1px solid var(--ar-border);
  border-radius: 18px;
  background: var(--ar-surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ar-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--ar-shadow-lg);
}

.ar-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 22px;
}

.ar-feature h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.ar-feature p {
  margin: 0;
  color: var(--ar-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Get started */

.row.ar-steps {
  position: relative;
  margin-bottom: 0;
}

.row.ar-steps::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 16.66%;
  right: 16.66%;
  border-top: 2px dashed var(--ar-border-strong);
}

.ar-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ar-step-num {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border: 1px solid var(--ar-accent-ring);
  border-radius: 18px;
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 0 0 8px var(--ar-bg);
}

.ar-step h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.ar-step p {
  max-width: 300px;
  margin: 0 auto;
  color: var(--ar-muted);
  line-height: 1.6;
}

.ar-safe {
  margin-top: 60px;
  padding: 34px 30px 14px;
  border: 1px solid var(--ar-border);
  border-radius: 22px;
  background: var(--ar-surface-2);
}

.ar-safe h3 {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 700;
}

.ar-safe .row {
  margin-bottom: 0;
}

.ar-safe-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.ar-safe-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  font-size: 22px;
}

.ar-safe-item b {
  display: block;
  color: var(--ar-heading);
  font-size: 16px;
}

.ar-safe-item small {
  display: block;
  color: var(--ar-muted);
  font-size: 14px;
}

/* Start trading today */

.ar-start {
  padding: 110px 0;
  background: radial-gradient(520px 240px at 50% 55%, var(--ar-glow), transparent 75%);
}

.ar-start-title {
  margin: 0 0 16px;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.6px;
}

.ar-start .ar-lead {
  max-width: 560px;
  margin: 0 auto;
}

.ar-start-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 34px 0;
}

.ar-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}

.ar-perk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ar-muted);
  font-size: 15px;
}

.ar-perk-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 17px;
}

/* ─── Guest footer ───────────────────────────────────────── */

.ar-footer {
  padding-top: 64px;
  border-top: 1px solid var(--ar-border);
  background: var(--ar-footer-bg);
}

.ar-footer-top {
  margin-bottom: 30px;
}

.ar-footer-brand p {
  max-width: 420px;
  margin: 0 0 14px;
  color: var(--ar-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ar-footer-rule {
  display: block;
  width: 36px;
  height: 3px;
  margin: 18px 0 16px;
  border-radius: 3px;
  background: var(--ar-accent-bright);
}

.ar-footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ar-heading);
  font-size: 14.5px;
  font-weight: 500;
}

.ar-footer-col h6 {
  margin: 0 0 20px;
  color: var(--ar-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ar-footer-col a {
  display: block;
  margin-bottom: 13px;
  color: var(--ar-muted);
  font-size: 15.5px;
  transition: color 0.15s ease;
}

.ar-footer-col a:hover {
  color: var(--ar-heading);
}

.ar-footer-bottom {
  padding: 22px 0;
  border-top: 1px solid var(--ar-border);
  color: var(--ar-muted);
  font-size: 14px;
}

/* ─── Sign in ────────────────────────────────────────────── */

.ar-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 16px;
  background: var(--ar-bg-alt);
}

.row.ar-auth-card {
  display: flex;
  width: 100%;
  max-width: 1040px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow-lg);
}

.row.ar-auth-card > .col {
  padding: 0;
}

.row.ar-auth-card > .ar-auth-panel {
  padding: 56px 36px;
  background: radial-gradient(420px 260px at 0% 0%, color-mix(in srgb, var(--ar-on-color) 12%, transparent), transparent 70%),
    linear-gradient(160deg, var(--ar-panel-from), var(--ar-panel-to));
  color: var(--ar-on-color);
}

.ar-auth-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid color-mix(in srgb, var(--ar-on-color) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ar-on-color) 12%, transparent);
  font-size: 13px;
  font-weight: 600;
}

.ar-auth-panel h2 {
  margin: 22px 0 14px;
  color: var(--ar-on-color);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.ar-auth-panel p {
  max-width: 340px;
  margin: 0;
  color: color-mix(in srgb, var(--ar-on-color) 86%, transparent);
  font-size: 16px;
  line-height: 1.6;
}

.ar-auth-art {
  max-width: 330px;
  margin-top: 28px;
  padding: 10px;
  border-radius: 14px;
  background: var(--ar-logo-bg);
}

.ar-auth-art img {
  display: block;
  width: 100%;
}

.row.ar-auth-card > .ar-auth-form {
  padding: 40px 36px 32px;
}

.ar-auth-logo {
  display: flex;
  justify-content: center;
}

.ar-auth-form h1 {
  margin: 18px 0 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
  text-align: center;
}

.ar-auth-sub {
  margin: 0 0 22px;
  color: var(--ar-muted);
  font-size: 15px;
  text-align: center;
}

.ar-label {
  display: block;
  margin: 16px 0 7px;
  color: var(--ar-heading);
  font-size: 14px;
  font-weight: 600;
}

.ar-req {
  color: var(--ar-down);
}

.ar-field {
  position: relative;
}

.ar-field-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--ar-muted);
  font-size: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.ar-field input[type]:not(.browser-default) {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 46px 0 44px;
  border: 1px solid var(--ar-border-strong);
  border-radius: 10px;
  background: var(--ar-input-bg);
  box-shadow: none;
  color: var(--ar-heading);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ar-field input[type]:not(.browser-default):focus:not([readonly]) {
  border: 1px solid var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

.ar-field-eye,
.ar-field-eye:focus {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ar-muted);
  font-size: 18px;
  transform: translateY(-50%);
  cursor: pointer;
}

.ar-field-eye:hover {
  color: var(--ar-heading);
}

.ar-auth-row {
  display: flex;
  justify-content: flex-end;
  margin: 14px 0 22px;
}

.ar-auth-switch {
  margin: 22px 0 0;
  color: var(--ar-muted);
  font-size: 14.5px;
  text-align: center;
}

.ar-auth-copy {
  margin: 26px 0 0;
  color: var(--ar-faint);
  font-size: 12.5px;
  text-align: center;
}

.ar-alert {
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--ar-down) 35%, transparent);
  border-radius: 10px;
  background: var(--ar-down-soft);
}

.ar-alert p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ar-down);
  font-size: 14px;
}

/* ─── Dashboard shell ────────────────────────────────────── */

.ar-app {
  min-height: 100vh;
}

.ar-side {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 997;
  display: flex;
  flex-direction: column;
  width: 272px;
  border-right: 1px solid var(--ar-border);
  background: var(--ar-sidebar-bg);
  transition: transform 0.25s ease;
}

.ar-side-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid var(--ar-border);
}

.ar-side-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px 14px 20px;
}

.ar-profile {
  margin-bottom: 22px;
  padding: 20px 16px 14px;
  border: 1px solid var(--ar-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--ar-surface-2), var(--ar-surface));
  text-align: center;
}

.ar-profile-avatar {
  position: relative;
  display: inline-block;
}

.ar-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ar-accent-bright);
  color: var(--ar-on-color);
  font-size: 13px;
  font-weight: 700;
}

.ar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-avatar-lg {
  width: 62px;
  height: 62px;
  font-size: 20px;
  box-shadow: 0 0 0 4px var(--ar-accent-soft);
}

.ar-avatar-sm {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.ar-online-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ar-surface);
  border-radius: 50%;
  background: var(--ar-green);
}

.ar-profile-name {
  display: block;
  margin-top: 12px;
  color: var(--ar-heading);
  font-size: 15.5px;
}

.ar-profile-state {
  display: block;
  margin: 2px 0 10px;
  color: var(--ar-muted);
  font-size: 12.5px;
}





.ar-side-group {
  margin-bottom: 16px;
}

.ar-side-group h6 {
  margin: 0 0 6px 12px;
  color: var(--ar-faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ar-side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ar-text);
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.ar-side-link .ti {
  font-size: 19px;
}

.ar-side-link:hover {
  background: var(--ar-surface-2);
  color: var(--ar-heading);
}

.ar-side-link.active {
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
  font-weight: 600;
}

.ar-help {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--ar-accent-ring);
  border-radius: 14px;
  background: var(--ar-accent-soft);
}

.ar-help-top {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ar-help-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-surface);
  color: var(--ar-accent-ink);
  font-size: 17px;
}

.ar-help b {
  display: block;
  color: var(--ar-heading);
  font-size: 14.5px;
}

.ar-help small {
  display: block;
  color: var(--ar-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.ar-help .ar-btn-soft,
.ar-help .ar-btn-soft:focus {
  background: var(--ar-surface);
}

.ar-help .ar-btn-soft:hover {
  background: var(--ar-accent);
}

.ar-side-overlay {
  position: fixed;
  inset: 0;
  z-index: 996;
  background: var(--ar-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ar-app-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: 272px;
}

.ar-top {
  position: sticky;
  top: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--ar-border);
  background: var(--ar-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ar-top-left,
.ar-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ar-top-btn,
.ar-top-btn:focus {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  background: var(--ar-surface);
  color: var(--ar-heading);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ar-top-btn:hover {
  background: var(--ar-surface-2);
  color: var(--ar-heading);
}

.ar-top-btn .ti {
  font-size: 17px;
}

.ar-top-btn .ti-chevron-down {
  font-size: 14px;
  color: var(--ar-muted);
}

.ar-top-square,
.ar-top-square:focus {
  justify-content: center;
  width: 38px;
  padding: 0;
}

.ar-top-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--ar-down);
  color: var(--ar-on-color);
  font-size: 10.5px;
  font-weight: 700;
}

.ar-top-user,
.ar-top-user:focus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px 0 4px;
  border: 1px solid var(--ar-border);
  border-radius: 999px;
  background: var(--ar-surface);
  color: var(--ar-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ar-top-user .ti {
  color: var(--ar-muted);
  font-size: 14px;
}

.ar-pop-wrap {
  position: relative;
}

.ar-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  min-width: 210px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow-lg);
}

.ar-pop-right {
  right: 0;
  left: auto;
}

.ar-pop-scroll {
  max-height: 320px;
  overflow-y: auto;
}

.ar-pop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ar-text);
  font-size: 14px;
  cursor: pointer;
}

.ar-pop a:hover,
.ar-pop a.active {
  background: var(--ar-surface-2);
  color: var(--ar-heading);
}

.ar-pop a .ti {
  font-size: 17px;
}

.ar-pop-head {
  margin-bottom: 4px;
  padding: 8px 12px 10px;
  border-bottom: 1px solid var(--ar-border);
}

.ar-pop-head b {
  display: block;
  color: var(--ar-heading);
  font-size: 14px;
}

.ar-pop-head small {
  display: block;
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-content {
  flex: 1;
  width: 100%;
  padding: 24px;
}

.ar-app-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--ar-border);
  background: var(--ar-sidebar-bg);
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ar-clock b {
  color: var(--ar-heading);
  font-weight: 600;
}

.ar-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 72px;
  z-index: 980;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ar-green);
  color: var(--ar-on-color);
  font-size: 28px;
  box-shadow: var(--ar-shadow-lg);
}

.ar-whatsapp:hover {
  color: var(--ar-on-color);
}

/* ─── Dashboard cards ────────────────────────────────────── */

.ar-content > div > .row {
  margin-bottom: 20px;
}

.row.ar-equal {
  display: flex;
  flex-wrap: wrap;
}

.row.ar-equal > .col {
  display: flex;
  flex-direction: column;
  margin-left: 0;
}

.row.ar-equal > .col > .ar-card {
  flex: 1;
}

.ar-card {
  padding: 22px;
  border: 1px solid var(--ar-border);
  border-radius: 16px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
}

.ar-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.ar-card-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.row.ar-tight-row {
  margin: 0 -6px;
}

.row.ar-tight-row > .col {
  padding: 6px;
}

.ar-hello {
  margin: 0;
  color: var(--ar-text);
  font-size: 16px;
  font-weight: 400;
}

.ar-hello b {
  color: var(--ar-heading);
  font-weight: 700;
}

.ar-balance {
  margin-bottom: 10px;
  padding: 22px 20px;
  border-radius: 14px;
  background: radial-gradient(360px 200px at 100% 0%, color-mix(in srgb, var(--ar-on-color) 10%, transparent), transparent 70%),
    linear-gradient(135deg, var(--ar-balance-from), var(--ar-balance-to));
  color: var(--ar-on-color);
}

.ar-balance small {
  display: block;
  font-size: 13.5px;
  opacity: 0.85;
}

.ar-balance > b {
  display: block;
  margin: 8px 0 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.ar-stat {
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface);
}

.ar-stat small {
  display: block;
  margin-bottom: 4px;
  color: var(--ar-muted);
  font-size: 12px;
  white-space: nowrap;
}

.ar-stat b {
  display: block;
  color: var(--ar-heading);
  font-size: 16px;
  font-weight: 700;
  word-break: normal;
}

.ar-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 16px 6px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ar-action:hover {
  border-color: var(--ar-accent-ring);
  transform: translateY(-2px);
}

/* One line each, so every tile in the row is the same height. */
.ar-action b {
  max-width: 100%;
  overflow: hidden;
  color: var(--ar-heading);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-action-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
}

.ar-traders {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--ar-border);
}

.ar-traders .ar-card-head {
  margin-bottom: 12px;
}

.ar-traders .ar-card-head h3 {
  font-size: 15px;
}

.ar-traders .collection {
  display: flex;
  gap: 6px;
  margin: 0;
  overflow-x: auto;
}

.ar-trader {
  flex: 1 0 92px;
  text-align: center;
}

.ar-trader a {
  display: block;
  padding: 8px 4px;
  border-radius: 12px;
}

.ar-trader a:hover {
  background: var(--ar-surface-2);
}

.ar-trader-photo {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}

.ar-trader-photo img {
  display: block;
  width: 54px;
  height: 54px;
  border: 2px solid var(--ar-accent-ring);
  border-radius: 50%;
  object-fit: cover;
}

.ar-trader-check {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ar-surface);
  border-radius: 50%;
  background: var(--ar-blue);
  color: var(--ar-on-color);
  font-size: 10px;
}

.ar-trader b {
  display: block;
  color: var(--ar-heading);
  font-size: 12.5px;
  line-height: 1.3;
}

.ar-trader small {
  display: block;
  margin-top: 2px;
  color: var(--ar-up);
  font-size: 12px;
  font-weight: 600;
}

/* Empty state rendered by ListComponent inside a card */
.ar-card .collection > .collection-item.app-py-2 {
  width: 100%;
  margin: 0;
  border: 1px dashed var(--ar-border);
  border-radius: 12px;
  background: transparent;
  color: var(--ar-muted);
}

.ar-card .collection > .collection-item.app-py-2:hover {
  background: transparent;
}

/* Market overview */

.ar-card .ar-toggle {
  display: inline-flex;
  flex-wrap: nowrap;
  max-width: 100%;
  margin-bottom: 4px;
  padding: 4px;
  overflow-x: auto;
  border-radius: 12px;
  background: var(--ar-surface-2);
}

.ar-card .ar-toggle button {
  flex: none;
}

/* SearchAndLevelComponent: a Materialize row (search | chart type) restyled
   as one line. Its second column carries an inline padding-top of 10px, so
   the search field gets the same top margin and the two stay level. */
.ar-chart-tools {
  position: relative;
  margin: 2px 0 12px;
}

.ar-chart-tools .row {
  display: flex;
  gap: 8px;
  margin: 0;
}

.ar-chart-tools .row > .col {
  width: auto;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}

.ar-chart-tools .row > .col:first-child {
  flex: 1;
  min-width: 0;
}

.ar-chart-tools .input-field {
  margin: 10px 0 0;
}

.ar-chart-tools-icon {
  position: absolute;
  top: 32px;
  left: 13px;
  z-index: 1;
  color: var(--ar-muted);
  font-size: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.ar-chart-tools input[type]:not(.browser-default) {
  box-sizing: border-box;
  height: 44px;
  margin: 0;
  padding: 0 12px 0 40px;
  border: 1px solid var(--ar-border-strong);
  border-radius: 10px;
  background: var(--ar-input-bg);
  box-shadow: none;
  color: var(--ar-heading);
  font-size: 14px;
}

.ar-chart-tools input[type]:not(.browser-default):focus:not([readonly]) {
  border: 1px solid var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

.ar-chart-tools input::placeholder {
  color: var(--ar-faint);
  font-weight: 400;
  text-transform: none;
}

.ar-chart-tools select.browser-default {
  height: 44px;
  min-width: 120px;
  padding: 0 10px;
  border: 1px solid var(--ar-border-strong);
  border-radius: 10px;
  background-color: var(--ar-input-bg);
  color: var(--ar-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ar-chart-tools select.browser-default:focus {
  border-color: var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

.ar-chart-tools .autocomplete-content {
  margin-top: 4px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow-lg);
}

.ar-chart-tools .autocomplete-content li {
  display: flex;
  align-items: center;
  min-height: 44px;
  background: transparent;
}

.ar-chart-tools .autocomplete-content li:hover,
.ar-chart-tools .autocomplete-content li.active {
  background: var(--ar-surface-2);
}

.ar-chart-tools .autocomplete-content li > span {
  padding: 10px 12px;
  color: var(--ar-text);
  font-size: 14px;
  line-height: 1.3;
}

.ar-chart-tools .autocomplete-content li .highlight {
  color: var(--ar-heading);
  font-weight: 700;
}

.ar-chart-tools .autocomplete-content li img {
  width: 28px;
  height: 28px;
  margin: 0 0 0 12px;
  border-radius: 50%;
  background: var(--ar-logo-bg);
}

.ar-chart-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid var(--ar-border);
  border-radius: 999px;
  color: var(--ar-text);
  font-size: 12.5px;
  font-weight: 600;
}

.ar-chart-tag .ti {
  color: var(--ar-accent-ink);
}

.ar-chart {
  height: 290px;
  margin: 12px 0 12px;
  overflow: hidden;
  border-radius: 12px;
}

.ar-chart > div,
.ar-chart .tradingview-widget-container,
.ar-chart #tradingview_ec926 {
  height: 100%;
}







/* An even two-column grid: Materialize's floated columns leave gaps when
   tiles differ in height, which they do once a name or price runs long. */
.ar-tiles .collection.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.ar-tiles .collection.row::after {
  display: none;
}

.ar-tiles .collection.row > li.col {
  width: auto;
  margin: 0;
  padding: 0;
}

.ar-tiles .collection > .collection-item.app-py-2 {
  grid-column: 1 / -1;
}

.ar-tile,
.ar-tile:focus {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ar-tile:hover {
  border-color: var(--ar-border-strong);
  background: var(--ar-surface-2);
}

.ar-tile.active,
.ar-tile.active:focus {
  border-color: var(--ar-accent-bright);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

.ar-tile img {
  width: 32px;
  height: 32px;
  flex: none;
  padding: 4px;
  border-radius: 10px;
  background: var(--ar-logo-bg);
}

.ar-tile-name {
  flex: 1;
  min-width: 0;
}

.ar-tile-name b {
  display: block;
  overflow: hidden;
  color: var(--ar-heading);
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-tile-name small {
  display: block;
  overflow: hidden;
  color: var(--ar-muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-tile-price {
  text-align: right;
}

.ar-tile-price b {
  display: block;
  color: var(--ar-heading);
  font-size: 13.5px;
  white-space: nowrap;
}

.ar-tile-price span {
  font-size: 12px;
  font-weight: 600;
}

/* Chart label + watch button */

.ar-chart-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ar-watch-btn,
.ar-watch-btn:focus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--ar-border);
  border-radius: 999px;
  background: transparent;
  color: var(--ar-text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.ar-watch-btn:hover {
  background: var(--ar-surface-2);
  color: var(--ar-heading);
}

.ar-watch-btn.active,
.ar-watch-btn.active:focus {
  border-color: var(--ar-accent-ring);
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
}

/* Tabler's filled icons ship as a second font that takes over every .ti, so
   the star stays outlined and an amber colour marks "on the watchlist". */
.ar-watch-btn.active .ti-star {
  color: var(--ar-amber);
}

/* Watchlist */

.ar-watch {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--ar-border);
}

.ar-watch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.ar-watch-head h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.ar-watch-head h4 small {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ar-surface-2);
  color: var(--ar-muted);
  font-size: 12px;
  font-weight: 600;
}

.ar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ar-chips button,
.ar-chips button:focus {
  padding: 5px 12px;
  border: 1px solid var(--ar-border);
  border-radius: 999px;
  background: transparent;
  color: var(--ar-text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.ar-chips button:hover {
  background: var(--ar-surface-2);
}

.ar-chips button.active,
.ar-chips button.active:focus {
  border-color: var(--ar-accent);
  background: var(--ar-accent);
  color: var(--ar-accent-text);
}

.ar-tile:focus-visible {
  outline: 2px solid var(--ar-accent);
  outline-offset: 2px;
}

.ar-tile-star,
.ar-tile-star:focus {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  margin-left: -4px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ar-amber);
  font-size: 16px;
  cursor: pointer;
}

.ar-tile-star:hover {
  background: var(--ar-surface-3);
}

/* Trades */

.ar-trades .collection {
  margin: 6px 0 0;
}

.ar-trades .collection .collection-item:not(.app-py-2),
.ar-trades .collection .collection-item:not(.app-py-2):last-child {
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border-bottom: 0;
  background: transparent;
}

.ar-trades .collection .collection-item:not(.app-py-2):hover {
  background: var(--ar-surface-2);
}

.ar-trade {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(96px, auto);
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--ar-text);
  font-size: 14px;
  cursor: pointer;
}

.ar-trade:focus-visible {
  outline: 2px solid var(--ar-accent);
  outline-offset: -2px;
  border-radius: 10px;
}

.ar-trade-head {
  margin-top: 10px;
  padding-top: 6px;
  border-bottom: 1px solid var(--ar-border);
  color: var(--ar-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: default;
}

.ar-trade-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ar-trade-asset img {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-logo-bg);
}

.ar-trade-asset > span {
  min-width: 0;
}

.ar-trade-asset b {
  display: block;
  overflow: hidden;
  color: var(--ar-heading);
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-trade-asset small {
  display: block;
  overflow: hidden;
  color: var(--ar-muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-trade-prices {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-trade-pnl {
  text-align: right;
  white-space: nowrap;
}

.ar-trade-action {
  text-align: right;
}

.ar-trade-date {
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-trade-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ar-surface-2);
  color: var(--ar-heading);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.ar-trade-err {
  display: block;
  margin-top: 4px;
  color: var(--ar-down);
  font-size: 11.5px;
  white-space: normal;
}

/* Trade screen */

.ar-trade-screen > .row {
  margin-bottom: 20px;
}

.ar-trade-screen .col > .ar-card + .ar-card {
  margin-top: 20px;
}

.ar-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 16px 22px;
}

.ar-pair-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ar-muted);
  font-size: 14px;
  font-weight: 600;
}

.ar-pair-back:hover {
  color: var(--ar-heading);
}

.ar-pair-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ar-pair-name img,
.ar-pair-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-logo-bg);
}

.ar-pair-icon {
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
  font-size: 20px;
}

.ar-pair-name b {
  display: block;
  color: var(--ar-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.ar-pair-name small {
  display: block;
  color: var(--ar-muted);
  font-size: 13px;
  font-weight: 600;
}

.ar-pair-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.ar-pair-stat {
  min-width: 110px;
  padding: 8px 14px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
}

.ar-pair-stat small {
  display: block;
  color: var(--ar-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ar-pair-stat b {
  display: block;
  margin-top: 2px;
  color: var(--ar-heading);
  font-size: 16px;
  white-space: nowrap;
}

.ar-chart.ar-chart-tall {
  height: 540px;
  margin-bottom: 0;
}

/* Order ticket */

.ar-ticket-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}

.ar-ticket-side,
.ar-ticket-side:focus {
  height: 44px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
  color: var(--ar-muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ar-ticket-side:hover {
  color: var(--ar-heading);
}

.ar-ticket-side.buy.active,
.ar-ticket-side.buy.active:focus {
  border-color: var(--ar-buy);
  background: var(--ar-up-soft);
  color: var(--ar-buy);
}

.ar-ticket-side.sell.active,
.ar-ticket-side.sell.active:focus {
  border-color: var(--ar-sell);
  background: var(--ar-down-soft);
  color: var(--ar-sell);
}

.ar-ticket select.browser-default.ar-input,
.ar-ticket input[type].ar-input:not(.browser-default) {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--ar-border-strong);
  border-radius: 10px;
  background-color: var(--ar-input-bg);
  box-shadow: none;
  color: var(--ar-heading);
  font-size: 15px;
}

.ar-ticket select.browser-default.ar-input {
  cursor: pointer;
}

.ar-ticket select.browser-default.ar-input:focus,
.ar-ticket input[type].ar-input:not(.browser-default):focus:not([readonly]) {
  border: 1px solid var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
  outline: none;
}

.ar-ticket input.ar-input::placeholder {
  color: var(--ar-faint);
  font-weight: 400;
  text-transform: none;
}

.ar-ticket-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ar-ticket-quick button,
.ar-ticket-quick button:focus {
  min-width: 52px;
  padding: 6px 12px;
  border: 1px solid var(--ar-border);
  border-radius: 8px;
  background: var(--ar-surface);
  color: var(--ar-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ar-ticket-quick button:hover,
.ar-ticket-quick button.active,
.ar-ticket-quick button.active:focus {
  border-color: var(--ar-accent-ring);
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
}

.ar-ticket-est {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
}

.ar-ticket-est span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ar-muted);
  font-size: 13.5px;
}

.ar-ticket-est b {
  color: var(--ar-heading);
}

.ar-ticket-notice {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
}

.ar-ticket-notice.up {
  background: var(--ar-up-soft);
  color: var(--ar-up);
}

.ar-ticket-notice.down {
  background: var(--ar-down-soft);
  color: var(--ar-down);
}

.ar-ticket-submit,
.ar-ticket-submit:focus {
  margin-top: 16px;
  color: var(--ar-on-color);
}

.ar-ticket-submit.buy,
.ar-ticket-submit.buy:focus {
  background: var(--ar-buy);
}

.ar-ticket-submit.buy:hover {
  background: var(--ar-buy-hover);
  color: var(--ar-on-color);
}

.ar-ticket-submit.sell,
.ar-ticket-submit.sell:focus {
  background: var(--ar-sell);
}

.ar-ticket-submit.sell:hover {
  background: var(--ar-sell-hover);
  color: var(--ar-on-color);
}

.ar-ticket-off {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ar-muted);
}

/* Page heading */

/* Side padding matches a grid column's, so the heading lines up with the
   cards below it. */
.ar-page-head {
  margin: 4px 0 22px;
  padding: 0 0.75rem;
}

.ar-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ar-muted);
  font-size: 13.5px;
}

.ar-crumbs a {
  color: var(--ar-text);
}

.ar-crumbs a:hover {
  color: var(--ar-heading);
}

.ar-crumbs .ti {
  color: var(--ar-faint);
  font-size: 13px;
}

.ar-page-head h1 {
  margin: 14px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.ar-page-head p {
  margin: 0;
  color: var(--ar-muted);
  font-size: 15px;
}

/* Trade history */

.ar-history-screen > .row {
  margin-bottom: 20px;
}

.ar-card.ar-history {
  overflow: hidden;
  padding: 0;
}

.ar-history-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--ar-border);
  background: var(--ar-surface-2);
}

.ar-history-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.ar-history-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ar-border-strong);
  border-radius: 8px;
  background: var(--ar-surface);
  color: var(--ar-accent-ink);
  font-size: 17px;
}

.ar-history-body {
  padding: 6px 18px 14px;
}

.ar-hrow {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 0.7fr) minmax(0, 0.8fr)
    minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  color: var(--ar-text);
  font-size: 14px;
  cursor: pointer;
}

.ar-hrow:focus-visible {
  outline: 2px solid var(--ar-accent);
  outline-offset: -2px;
  border-radius: 10px;
}

.ar-hrow-head {
  padding-top: 18px;
  border-bottom: 1px solid var(--ar-border);
  color: var(--ar-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: default;
}

.ar-history .collection {
  margin: 4px 0 0;
}

.ar-history .collection .collection-item,
.ar-history .collection .collection-item:last-child {
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border-bottom: 0;
  background: transparent;
}

.ar-history .collection .collection-item:hover {
  background: var(--ar-surface-2);
}

.ar-hrow-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ar-hrow-pair > span {
  min-width: 0;
}

.ar-hrow-pair img {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-logo-bg);
}

.ar-hrow-pair b {
  display: block;
  overflow: hidden;
  color: var(--ar-heading);
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-hrow-pair small {
  display: block;
  overflow: hidden;
  color: var(--ar-muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-hrow-date {
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-side-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.ar-side-pill.buy {
  background: var(--ar-up-soft);
  color: var(--ar-buy);
}

.ar-side-pill.sell {
  background: var(--ar-down-soft);
  color: var(--ar-sell);
}

.ar-tag-neutral {
  background: var(--ar-surface-3);
  color: var(--ar-text);
}

.ar-history-empty {
  padding: 42px 0 34px;
  color: var(--ar-muted);
  text-align: center;
}

.ar-history-empty .ti {
  color: var(--ar-faint);
  font-size: 46px;
}

.ar-history-empty p {
  margin: 8px 0 0;
  font-size: 15px;
}

.row.ar-history-stats {
  margin-bottom: 0;
}

.row.ar-history-stats > .col {
  margin-bottom: 14px;
}

.ar-hstat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid var(--ar-border);
  border-radius: 16px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
}

.ar-hstat-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  font-size: 20px;
}

.ar-hstat-text {
  min-width: 0;
  text-align: right;
}

.ar-hstat-text small {
  display: block;
  color: var(--ar-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-hstat-text b {
  display: block;
  margin-top: 4px;
  color: var(--ar-heading);
  font-size: 22px;
  font-weight: 800;
}

.ar-hstat-text b.ar-up {
  color: var(--ar-up);
}

.ar-hstat-text b.ar-down {
  color: var(--ar-down);
}

.ar-hstat-sub {
  display: block;
  margin-top: 4px;
  color: var(--ar-muted);
  font-size: 12.5px;
}

/* Crypto card */

.row.ar-cc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 16px 6px;
  border: 1px solid var(--ar-border);
  border-radius: 14px;
  background: var(--ar-surface-2);
}

.ar-cc-card,
.ar-cc-card:focus {
  position: relative;
  display: block;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1.586;
  padding: 0;
  border: 0;
  background: transparent;
  perspective: 1000px;
  cursor: pointer;
}

.ar-cc-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14px;
  background-image: radial-gradient(color-mix(in srgb, var(--ar-on-color) 12%, transparent) 1px, transparent 1.4px),
    radial-gradient(260px 180px at 85% 110%, color-mix(in srgb, var(--ar-on-color) 18%, transparent), transparent 70%),
    linear-gradient(135deg, var(--ar-card-from), var(--ar-card-to));
  background-size: 9px 9px, auto, auto;
  color: var(--ar-on-color);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: var(--ar-shadow-lg);
  transition: transform 0.6s ease;
}

.ar-cc-back {
  transform: rotateY(180deg);
}

.ar-cc-card.flipped .ar-cc-front {
  transform: rotateY(-180deg);
}

.ar-cc-card.flipped .ar-cc-back {
  transform: rotateY(0);
}

.ar-cc-logo {
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.ar-cc-chip {
  position: absolute;
  top: 42%;
  right: 28px;
  width: 42px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--ar-chip), color-mix(in srgb, var(--ar-chip) 70%, var(--ar-card-to)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ar-card-to) 25%, transparent);
}

.ar-cc-brand {
  position: absolute;
  right: 20px;
  bottom: 16px;
  text-align: right;
}

.ar-cc-brand small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ar-cc-brand b {
  font-size: 28px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.ar-cc-stripe {
  position: absolute;
  top: 22px;
  right: 0;
  left: 0;
  height: 40px;
  background: var(--ar-cc-stripe);
}

.ar-cc-sign {
  position: absolute;
  top: 80px;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ar-cc-sign span {
  flex: 1;
  height: 30px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--ar-on-color) 85%, transparent);
}

.ar-cc-sign b {
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--ar-on-color);
  color: var(--ar-card-to);
  font-size: 13px;
}

.ar-cc-holder {
  position: absolute;
  bottom: 34px;
  left: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-cc-note {
  position: absolute;
  bottom: 14px;
  left: 20px;
  font-size: 11px;
  opacity: 0.8;
}

.row.ar-cc > .ar-cc-copy {
  padding: 16px 20px;
}

.ar-cc-copy h4 {
  margin: 12px 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.ar-cc-copy p {
  max-width: 560px;
  margin: 0 0 12px;
  color: var(--ar-text);
  font-size: 14.5px;
}

.ar-cc-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--ar-muted);
  font-size: 12.5px;
}

/* Recent transactions */

.ar-tx {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--ar-text);
  font-size: 14px;
}

.ar-tx-head {
  padding-top: 6px;
  border-bottom: 1px solid var(--ar-border);
  color: var(--ar-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-txs .collection {
  margin: 10px 0 0;
}

.ar-txs .collection .collection-item:not(.app-py-2),
.ar-txs .collection .collection-item:not(.app-py-2):last-child {
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border-bottom: 0;
  background: transparent;
}

.ar-txs .collection .collection-item:not(.app-py-2):hover {
  background: var(--ar-surface-2);
}

.ar-tx-type {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ar-heading);
  font-weight: 600;
}

.ar-tx-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  font-size: 15px;
}

.ar-tx-amount {
  color: var(--ar-heading);
}

.ar-tx-date {
  color: var(--ar-muted);
}

/* Investment summary */

.row.ar-invest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}

.ar-ring {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  margin: 6px auto 16px;
  border: 14px solid var(--ar-surface-3);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--ar-border), 0 0 0 1px var(--ar-border);
}

.ar-ring small {
  display: block;
  color: var(--ar-muted);
  font-size: 12px;
}

.ar-ring b {
  display: block;
  margin-top: 4px;
  color: var(--ar-heading);
  font-size: 16px;
}

.ar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ar-border);
}

.ar-legend:last-child {
  border-bottom: 0;
}

.ar-legend-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ar-text);
  font-size: 14px;
}

.ar-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
}

.ar-legend-value {
  text-align: right;
}

.ar-legend-value b {
  display: block;
  color: var(--ar-heading);
  font-size: 14.5px;
}

.ar-legend-value b.ar-up {
  color: var(--ar-up);
}

.ar-legend-value small {
  color: var(--ar-muted);
  font-size: 12px;
}

/* Stats strip */

.ar-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.ar-strip-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--ar-border);
  border-radius: 14px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.ar-strip-tile:hover {
  border-color: var(--ar-accent-ring);
  transform: translateY(-2px);
}

.ar-strip-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  font-size: 21px;
}

.ar-strip-text {
  min-width: 0;
}

.ar-strip-label {
  display: block;
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-strip-text b {
  display: block;
  margin-top: 2px;
  color: var(--ar-heading);
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Admin notices */

.ar-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--ar-accent-ring);
  border-radius: 12px;
  background: var(--ar-accent-soft);
  color: var(--ar-heading);
}

.ar-notice > .ti {
  margin-top: 9px;
  color: var(--ar-accent-ink);
  font-size: 19px;
}

.ar-notice p {
  flex: 1;
  margin: 9px 0;
  white-space: pre-wrap;
}

.ar-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ar-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--ar-overlay);
}

.ar-modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  border-radius: 16px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow-lg);
  text-align: right;
}

.ar-modal-box p {
  margin: 0 0 18px;
  color: var(--ar-heading);
  text-align: left;
  white-space: pre-wrap;
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 1200px) {
  .ar-hero h1 {
    font-size: 58px;
  }

  .ar-mrow {
    grid-template-columns: 48px minmax(0, 1fr) 150px 120px 100px;
  }
}

@media (max-width: 992px) {
  .ar-side {
    transform: translateX(-100%);
  }

  .ar-side.ar-side-open {
    transform: translateX(0);
    box-shadow: var(--ar-shadow-lg);
  }

  .ar-side-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .ar-app-main {
    margin-left: 0;
  }

  .ar-hero {
    padding: 56px 0 64px;
  }

  .ar-hero h1 {
    font-size: 50px;
  }

  .row.ar-steps::before {
    display: none;
  }

  .ar-step {
    margin-bottom: 30px;
  }

  .ar-section-head h2 {
    font-size: 36px;
  }

  .ar-start-title {
    font-size: 44px;
  }
}

@media (max-width: 600px) {
  .ar-nav-inner {
    height: 64px;
  }

  .ar-hero h1 {
    font-size: 40px;
    letter-spacing: -1.4px;
  }

  .ar-hero-form {
    flex-direction: column;
  }

  .ar-section {
    padding: 64px 0;
  }

  .ar-section-head h2 {
    font-size: 30px;
    letter-spacing: -0.6px;
  }

  .ar-mrow {
    grid-template-columns: 26px minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 0 14px;
  }

  .ar-table .collection .collection-item {
    padding: 0 14px;
  }

  .ar-mrow-action {
    display: none;
  }

  .ar-mrow-name img {
    width: 30px;
    height: 30px;
  }

  .ar-safe {
    padding: 26px 18px 6px;
  }

  .ar-start {
    padding: 72px 0;
  }

  .ar-start-title {
    font-size: 36px;
  }

  .row.ar-auth-card > .ar-auth-form {
    padding: 30px 20px 26px;
  }

  .ar-top {
    padding: 0 14px;
  }

  .ar-content {
    padding: 16px;
  }

  .ar-card {
    padding: 18px;
  }

  .ar-balance > b {
    font-size: 30px;
  }

  .ar-tx {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .ar-tx-date {
    display: none;
  }

  .ar-trade {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .ar-tiles .collection.row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ar-pair-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-left: 0;
  }

  .ar-pair-stat {
    min-width: 0;
  }

  .ar-chart.ar-chart-tall {
    height: 380px;
  }

  .ar-hrow {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .ar-hrow-market,
  .ar-hrow-side,
  .ar-hrow-status,
  .ar-hrow-qty,
  .ar-hrow-entry {
    display: none;
  }

  .ar-page-head h1 {
    font-size: 24px;
  }

  .ar-trade-prices {
    display: none;
  }

  .ar-trade-timer {
    padding: 3px 8px;
    font-size: 11.5px;
  }

  .ar-app-foot {
    justify-content: center;
    padding: 14px 16px;
    text-align: center;
  }
}

/* Referrals (/user/profile?tab=referrals) */

.ar-ref-screen .ar-card {
  margin-bottom: 20px;
}

.ar-ref-screen .ar-card h3 {
  margin: 0;
  color: var(--ar-heading);
  font-size: 18px;
  font-weight: 700;
}

.row.ar-ref-stats {
  margin-bottom: 6px;
}

.row.ar-ref-stats > .col {
  margin-bottom: 14px;
}

.ar-ref-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 18px 20px;
  border: 1px solid var(--ar-border);
  border-radius: 16px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
}

.ar-ref-stat-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  font-size: 20px;
}

.ar-ref-stat-text {
  min-width: 0;
}

.ar-ref-stat-text small {
  display: block;
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-ref-stat-text b {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--ar-heading);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-ref-stat-text > span {
  display: block;
  margin-top: 2px;
  color: var(--ar-muted);
  font-size: 12px;
}

.ar-ref-lead {
  margin: 8px 0 18px;
  color: var(--ar-muted);
  font-size: 14px;
}

.ar-ref-copy {
  display: flex;
  gap: 10px;
}

.ar-ref-copy input.browser-default {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  outline: 0;
  background: var(--ar-surface-2);
  color: var(--ar-heading);
  font-size: 14px;
}

.ar-ref-copy input.browser-default:focus {
  border-color: var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

.ar-ref-earned {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
}

.ar-ref-earned small {
  display: block;
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-ref-earned b {
  display: block;
  margin-top: 6px;
  color: var(--ar-accent-ink);
  font-size: 17px;
  font-weight: 700;
}

.ar-ref-note {
  color: var(--ar-muted);
  font-size: 13.5px;
  text-align: right;
}

.ar-ref-network .collection {
  margin: 0;
  border: 0;
}

.ar-ref-network .collection > .collection-item.app-py-2,
.ar-ref-network .collection > .collection-item.app-py-2:hover {
  padding: 22px 0 10px;
  border: 0;
}

.ar-ref-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ar-muted);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.ar-ref-empty .ti {
  color: var(--ar-accent-ink);
  font-size: 34px;
}

.ar-ref-network .collection .collection-item.ar-ref-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 8px;
  border-bottom: 1px solid var(--ar-border);
  border-radius: 0;
  background: transparent;
}

.ar-ref-network .collection .collection-item.ar-ref-person:last-child {
  border-bottom: 0;
}

.ar-ref-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
  font-size: 13px;
  font-weight: 700;
}

.ar-ref-person-text {
  flex: 1;
  min-width: 0;
}

.ar-ref-person-text b {
  display: block;
  overflow: hidden;
  color: var(--ar-heading);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-ref-person-text small {
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-ref-joined {
  flex: none;
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-ref-steps,
.ar-ref-tips {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.ar-ref-steps li,
.ar-ref-tips li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  color: var(--ar-text);
  font-size: 14px;
  line-height: 1.45;
}

.ar-ref-steps li + li,
.ar-ref-tips li + li {
  margin-top: 14px;
}

.ar-ref-step-no {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--ar-surface-3);
  color: var(--ar-heading);
  font-size: 12.5px;
  font-weight: 700;
}

.ar-ref-tips .ti {
  flex: none;
  margin-top: 1px;
  color: var(--ar-accent-ink);
  font-size: 19px;
}

@media (max-width: 600px) {
  .ar-ref-network .ar-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ar-ref-note {
    text-align: left;
  }

  .ar-ref-joined {
    display: none;
  }
}

/* Account settings (/user/profile, ?tab=password) */

.ar-set-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 30px 26px;
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  background: linear-gradient(120deg, var(--ar-surface), var(--ar-surface-2));
  box-shadow: var(--ar-shadow);
}

.ar-set-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ar-set-blob-1 {
  top: 14px;
  left: 80px;
  width: 90px;
  height: 90px;
  background: var(--ar-accent-soft);
}

.ar-set-blob-2 {
  bottom: 22px;
  left: 42%;
  width: 46px;
  height: 46px;
  background: var(--ar-blue-soft);
}

.ar-set-blob-3 {
  top: 22px;
  right: 280px;
  width: 70px;
  height: 70px;
  background: var(--ar-amber-soft);
}

.ar-set-blob-4 {
  right: 120px;
  bottom: -24px;
  width: 60px;
  height: 60px;
  background: var(--ar-green-soft);
}

.ar-set-title,
.ar-set-account {
  position: relative;
}

.ar-set-title h1 {
  margin: 0 0 8px;
  color: var(--ar-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.ar-set-title p {
  margin: 0;
  color: var(--ar-muted);
  font-size: 15px;
}

.ar-set-account {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ar-border);
  border-radius: 16px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
}

.ar-set-account-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ar-accent), var(--ar-accent-bright));
  color: var(--ar-accent-text);
  font-size: 16px;
  font-weight: 800;
}

.ar-set-account > span:last-child {
  min-width: 0;
}

.ar-set-account small {
  display: block;
  color: var(--ar-muted);
  font-size: 12px;
}

.ar-set-account b {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--ar-heading);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-card.ar-set-card {
  overflow: hidden;
  padding: 0;
}

.ar-set-tabs {
  display: flex;
  border-bottom: 1px solid var(--ar-border);
}

.ar-set-tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 130px;
  margin-bottom: -1px;
  padding: 16px 20px 14px;
  border-bottom: 2px solid transparent;
  color: var(--ar-muted);
  font-size: 14.5px;
  font-weight: 600;
}

.ar-set-tabs a .ti {
  font-size: 20px;
}

.ar-set-tabs a:hover {
  color: var(--ar-heading);
}

.ar-set-tabs a.active {
  border-bottom-color: var(--ar-accent);
  color: var(--ar-accent-ink);
}

.ar-set-body {
  padding: 24px;
}

.ar-set-body .form-top-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ar-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: capitalize;
}

.ar-set-body .row {
  margin-bottom: 0;
}

.ar-set-body .input-field {
  margin: 0 0 18px;
}

.ar-set-body .input-field input[type]:not(.browser-default),
.ar-set-body .input-field select.browser-default,
.ar-set-body .input-field textarea {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  outline: 0;
  background: var(--ar-input-bg);
  box-shadow: none;
  color: var(--ar-heading);
  font-size: 14.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ar-set-body .input-field textarea {
  resize: vertical;
  line-height: 1.5;
}

.ar-set-body .input-field input[type='date'],
.ar-set-body .input-field select.browser-default {
  color-scheme: var(--ar-scheme, light);
}

.ar-set-body .input-field input[type]:not(.browser-default):focus:not([readonly]),
.ar-set-body .input-field select.browser-default:focus,
.ar-set-body .input-field textarea:focus {
  border: 1px solid var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

.ar-set-static {
  margin-bottom: 18px;
}

.ar-set-email {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
  color: var(--ar-text);
  font-size: 14.5px;
}

.ar-set-email > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-set-email a {
  flex: none;
  color: var(--ar-accent-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.ar-set-photo {
  margin: 0 0 22px;
  padding: 0 0.75rem;
}

.ar-set-photo-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ar-set-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-accent);
  color: var(--ar-accent-text);
  font-size: 24px;
  font-weight: 800;
}

.ar-set-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-set-photo-pick {
  min-width: 0;
  max-width: 380px;
}

.ar-set-photo-pick input[type='file'] {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
  color: var(--ar-text);
  font-size: 14px;
}

.ar-set-photo-pick small {
  display: block;
  margin-top: 8px;
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-set-photo-pick small.ar-set-error {
  margin-top: 4px;
  color: var(--ar-down);
}

.ar-set-body form > div > .ar-btn {
  margin: 4px 0.75rem 0;
}

.ar-set-body form > section {
  padding: 0 0.75rem;
}

.ar-set-body form > section .card-panel {
  margin: 0;
  border-radius: 12px;
  box-shadow: none;
}

.ar-set-narrow {
  max-width: 520px;
}

.ar-set-lead {
  margin: 0 0 18px;
  padding: 0 0.75rem;
  color: var(--ar-muted);
  font-size: 14px;
}

@media (max-width: 600px) {
  .ar-set-head {
    padding: 22px 18px;
  }

  .ar-set-title h1 {
    font-size: 24px;
  }

  .ar-set-account {
    width: 100%;
  }

  .ar-set-tabs a {
    flex: 1;
    min-width: 0;
  }

  .ar-set-body {
    padding: 20px 8px;
  }
}

/* Copy trading (/user/trading?tab=traders) */

.ar-tr-section {
  margin-bottom: 26px;
  padding: 0 0.75rem;
}

.ar-tr-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--ar-heading);
  font-size: 18px;
  font-weight: 700;
}

.ar-tr-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
  font-size: 12px;
  font-weight: 700;
}

.ar-tr-lead {
  margin: -6px 0 18px;
  color: var(--ar-muted);
  font-size: 14px;
}

.ar-tr-none {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 16px 18px;
  border: 1px dashed var(--ar-border-strong);
  border-radius: 14px;
  background: var(--ar-surface-2);
  color: var(--ar-text);
  font-size: 14.5px;
}

.row.ar-tr-search-row {
  margin: 0 -0.75rem 18px;
}

.ar-tr-search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ar-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-tr-search {
  position: relative;
}

.ar-tr-search .ti {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--ar-muted);
  font-size: 17px;
  transform: translateY(-50%);
  pointer-events: none;
}

.ar-tr-search input.browser-default {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  outline: 0;
  background: var(--ar-surface);
  color: var(--ar-heading);
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ar-tr-search input.browser-default:focus {
  border-color: var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

/* An even grid: Materialize's floated columns leave gaps when cards differ
   in height, which they do once a bio runs to two lines. */
.ar-tr-grid .collection.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.ar-tr-grid .collection.row > .ar-tr-cell {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ar-tr {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ar-border);
  border-radius: 16px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
}

.ar-tr-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ar-tr-who img {
  width: 48px;
  height: 48px;
  flex: none;
  border: 2px solid var(--ar-border);
  border-radius: 50%;
  object-fit: cover;
}

.ar-tr-who > span {
  min-width: 0;
}

.ar-tr-who b,
.ar-tr-who small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-tr-who b {
  color: var(--ar-heading);
  font-size: 16px;
  font-weight: 700;
}

.ar-tr-who small {
  margin-top: 2px;
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-tr-bio {
  margin: 14px 0;
  color: var(--ar-text);
  font-size: 14px;
}

.ar-tr-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ar-tr-stat {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ar-surface-2);
}

.ar-tr-stat small {
  display: block;
  color: var(--ar-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ar-tr-stat b {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: var(--ar-heading);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-tr-stat b.ar-up {
  color: var(--ar-up);
}

.ar-tr-stat b.ar-down {
  color: var(--ar-down);
}

.ar-tr-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.ar-tr-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ar-blue-soft);
  color: var(--ar-blue);
  font-size: 12px;
  font-weight: 600;
}

.ar-tr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* The copy control is the default app's shared button, so what it renders —
   a .btn, a plain link for a Bot purchase, or a progress bar while it works —
   is styled from here rather than by changing it. */
.ar-tr-actions .btn,
.ar-tr-actions .btn:focus,
.ar-tr-actions > a:not(.ar-tr-profile) {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--ar-accent);
  box-shadow: none;
  color: var(--ar-accent-text);
  width: auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.ar-tr-actions .btn:hover,
.ar-tr-actions > a:not(.ar-tr-profile):hover {
  background: var(--ar-accent-hover);
  box-shadow: none;
  color: var(--ar-accent-text);
}

/* Following (and locked) is the button's brown state; Materialize sets that
   colour with !important, so only !important replaces it. */
.ar-tr-actions .btn.brown {
  background-color: var(--ar-surface-3) !important;
  color: var(--ar-heading) !important;
}

.ar-tr-actions .progress {
  width: 90px;
  margin: 0;
}

.ar-tr-profile,
.ar-tr-profile:focus {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ar-border-strong);
  border-radius: 10px;
  background: var(--ar-surface);
  color: var(--ar-accent-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.ar-tr-profile:hover {
  background: var(--ar-surface-2);
  color: var(--ar-accent-ink);
}

.ar-tr-agreement {
  margin: 0;
  padding: 0 0.75rem 10px;
  text-align: center;
}

.ar-tr-agreement a {
  color: var(--ar-muted);
  font-size: 13px;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .ar-tr-grid .collection.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ar-tr-grid .collection.row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* My assets (/user/holding) */

.ar-hold-screen > .row {
  margin-bottom: 20px;
}

.ar-hold-screen .ar-card h3 {
  margin: 0;
  color: var(--ar-heading);
  font-size: 18px;
  font-weight: 700;
}

.ar-card.ar-hold-summary {
  padding: 0;
}

.ar-hold-summary .row {
  margin: 0;
}

.ar-hold-summary .col {
  padding: 22px 24px;
}

.ar-hold-summary-main {
  border-left: 1px solid var(--ar-border);
}

.ar-hold-summary small {
  display: block;
  color: var(--ar-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-hold-summary b {
  display: block;
  margin: 8px 0 6px;
  color: var(--ar-heading);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.ar-hold-summary span {
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-hold-summary a {
  color: var(--ar-accent-ink);
  font-weight: 600;
}

.ar-card.ar-hold-wallets {
  padding: 0;
}

.ar-hold-wallets-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--ar-border);
}

.ar-hold-grid {
  padding: 20px 22px 22px;
}

/* An even grid, as on the traders page: cards share a row height. */
.ar-hold-grid .collection.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.ar-hold-grid .collection.row > .ar-hold-cell {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ar-hold-wallet {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ar-border);
  border-radius: 14px;
  background: var(--ar-surface);
}

.ar-hold-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ar-hold-who img {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--ar-border);
  border-radius: 50%;
  background: var(--ar-surface-2);
  object-fit: cover;
}

.ar-hold-who > span {
  min-width: 0;
}

.ar-hold-who b,
.ar-hold-who small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-hold-who b {
  color: var(--ar-heading);
  font-size: 15.5px;
  font-weight: 700;
}

.ar-hold-who small {
  margin-top: 2px;
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-hold-balance {
  margin: 16px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  background: var(--ar-surface-2);
}

.ar-hold-balance small {
  display: block;
  color: var(--ar-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-hold-balance b {
  display: block;
  overflow: hidden;
  margin: 8px 0 4px;
  color: var(--ar-heading);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-hold-balance span {
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-hold-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: var(--ar-text);
  font-size: 13px;
}

.ar-hold-buy,
.ar-hold-buy:focus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ar-accent-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ar-hold-buy:hover {
  background: var(--ar-accent-soft);
}

.ar-hold-trade,
.ar-hold-guide {
  margin-bottom: 20px;
}

/* A wallet's Buy scrolls here; the margin keeps it clear of the top bar. */
.ar-hold-trade {
  scroll-margin-top: 90px;
}

.ar-hold-lead {
  margin: 8px 0 16px;
  color: var(--ar-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.ar-hold-fiat {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
}

.ar-hold-fiat small {
  display: block;
  color: var(--ar-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-hold-fiat b {
  display: block;
  margin-top: 8px;
  color: var(--ar-heading);
  font-size: 22px;
  font-weight: 800;
}

.ar-hold-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ar-hold-modes button,
.ar-hold-modes button:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
  color: var(--ar-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ar-hold-modes button.active {
  border-color: var(--ar-accent);
  background: var(--ar-accent);
  color: var(--ar-accent-text);
}

.ar-hold-modes .ti {
  font-size: 17px;
}

.ar-hold-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--ar-surface-2);
  color: var(--ar-muted);
  font-size: 13.5px;
}

.ar-hold-pay b {
  color: var(--ar-heading);
  font-size: 13.5px;
  text-align: right;
}

.ar-hold-trade form .row {
  margin: 0 -0.75rem;
}

.ar-hold-trade .form-top-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ar-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: capitalize;
}

.ar-hold-trade .input-field {
  margin: 0 0 6px;
}

.ar-hold-trade .input-field input[type]:not(.browser-default),
.ar-hold-trade .input-field select.browser-default {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  outline: 0;
  background: var(--ar-input-bg);
  box-shadow: none;
  color: var(--ar-heading);
  font-size: 14.5px;
  color-scheme: var(--ar-scheme, light);
}

.ar-hold-trade .input-field input[type]:not(.browser-default):focus:not([readonly]),
.ar-hold-trade .input-field select.browser-default:focus {
  border: 1px solid var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

.ar-hold-trade .input-field + .col,
.ar-hold-trade .col > .input-field {
  margin-bottom: 12px;
}

.ar-hold-hint {
  margin: -4px 0 14px;
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-hold-hint a {
  color: var(--ar-accent-ink);
  font-weight: 600;
}

.ar-hold-receive {
  margin-bottom: 18px;
}

.ar-hold-trade .ar-hold-receive .form-top-label {
  text-transform: none;
}

.ar-hold-receive > div {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  background: var(--ar-surface-2);
  color: var(--ar-heading);
  font-size: 14.5px;
}

.ar-hold-trade form > section {
  margin-top: 12px;
}

.ar-hold-trade form > section .card-panel {
  margin: 0;
  border-radius: 12px;
  box-shadow: none;
}

.ar-hold-none {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--ar-border-strong);
  border-radius: 12px;
  color: var(--ar-muted);
  font-size: 14px;
  text-align: center;
}

.ar-hold-guide ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.ar-hold-guide ul > li {
  margin-bottom: 6px;
  color: var(--ar-text);
  font-size: 14px;
  line-height: 1.5;
  list-style: disc;
}

.ar-hold-guide b {
  color: var(--ar-heading);
}

@media (max-width: 992px) {
  .ar-hold-grid .collection.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ar-hold-summary-main {
    border-top: 1px solid var(--ar-border);
    border-left: 0;
  }

  .ar-hold-summary b {
    font-size: 26px;
  }

  .ar-hold-grid {
    padding: 16px;
  }

  .ar-hold-grid .collection.row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ar-hold-modes button,
  .ar-hold-modes button:focus {
    padding: 0 8px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* Mobile bottom bar and actions (below large screens) */

@media (max-width: 992px) {
  .ar-app-main {
    padding-bottom: 96px;
  }

  .ar-whatsapp {
    bottom: 108px;
  }
}

.ar-mnav {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 990;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  height: 68px;
  padding: 6px;
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--ar-surface) 92%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--ar-heading) 14%, transparent);
  backdrop-filter: blur(10px);
}

.ar-mnav-tab,
.ar-mnav-tab:focus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ar-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ar-mnav-tab .ti {
  font-size: 21px;
}

.ar-mnav-tab.active {
  border: 1px solid var(--ar-border);
  background: var(--ar-accent-soft);
  color: var(--ar-accent-ink);
}

.ar-mnav-actions,
.ar-mnav-actions:focus {
  justify-content: flex-end;
  padding-bottom: 6px;
}

.ar-mnav-fab {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: -34px;
  border: 4px solid var(--ar-surface);
  border-radius: 50%;
  background: var(--ar-accent);
  box-shadow: var(--ar-shadow-accent);
  color: var(--ar-accent-text);
}

.ar-mnav-fab .ti {
  font-size: 22px;
}

.ar-mnav-actions.open .ar-mnav-fab {
  background: var(--ar-accent-hover);
}

.ar-act-sheet {
  position: fixed;
  inset: 0;
  z-index: 989;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 16px 150px;
}

.ar-act-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ar-bg) 70%, transparent);
  backdrop-filter: blur(8px);
}

/* Three to a row, with a short last row centred. */
.ar-act-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.ar-act-tile,
.ar-act-tile:focus {
  display: flex;
  flex: 0 0 calc((100% - 32px) / 3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid var(--ar-border);
  border-radius: 18px;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
  color: var(--ar-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.ar-act-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--ar-surface);
  font-size: 22px;
}

.ar-act-green { background: var(--ar-green-soft); border-color: color-mix(in srgb, var(--ar-green) 25%, transparent); }
.ar-act-green .ar-act-icon { background: var(--ar-green); }
.ar-act-pink { background: var(--ar-pink-soft); border-color: color-mix(in srgb, var(--ar-pink) 25%, transparent); }
.ar-act-pink .ar-act-icon { background: var(--ar-pink); }
.ar-act-indigo { background: var(--ar-indigo-soft); border-color: color-mix(in srgb, var(--ar-indigo) 25%, transparent); }
.ar-act-indigo .ar-act-icon { background: var(--ar-indigo); }
.ar-act-blue { background: var(--ar-blue-soft); border-color: color-mix(in srgb, var(--ar-blue) 25%, transparent); }
.ar-act-blue .ar-act-icon { background: var(--ar-blue); }
.ar-act-amber { background: var(--ar-amber-soft); border-color: color-mix(in srgb, var(--ar-amber) 25%, transparent); }
.ar-act-amber .ar-act-icon { background: var(--ar-amber); }
.ar-act-teal { background: var(--ar-teal-soft); border-color: color-mix(in srgb, var(--ar-teal) 25%, transparent); }
.ar-act-teal .ar-act-icon { background: var(--ar-teal); }
.ar-act-purple { background: var(--ar-purple-soft); border-color: color-mix(in srgb, var(--ar-purple) 25%, transparent); }
.ar-act-purple .ar-act-icon { background: var(--ar-purple); }

.ar-act-close,
.ar-act-close:focus {
  position: absolute;
  bottom: 96px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--ar-border);
  border-radius: 50%;
  background: var(--ar-surface);
  box-shadow: var(--ar-shadow);
  color: var(--ar-heading);
  font-size: 22px;
  transform: translateX(-50%);
  cursor: pointer;
}

/* Markets (/user/trading?tab=assets) */

.ar-mk-screen {
  padding: 0 0.75rem 10px;
}

.ar-mk-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.ar-toggle.ar-mk-markets {
  flex-wrap: wrap;
  margin: 0;
}

.ar-mk-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ar-mk-search {
  position: relative;
}

.ar-mk-search .ti {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--ar-muted);
  font-size: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.ar-mk-search input.browser-default,
.ar-mk-filters select.browser-default {
  box-sizing: border-box;
  height: 40px;
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  outline: 0;
  background: var(--ar-surface);
  color: var(--ar-heading);
  font-size: 14px;
  color-scheme: var(--ar-scheme, light);
}

.ar-mk-search input.browser-default {
  width: 230px;
  padding: 0 12px 0 34px;
}

.ar-mk-filters select.browser-default {
  width: auto;
  padding: 0 10px;
}

.ar-mk-search input.browser-default:focus,
.ar-mk-filters select.browser-default:focus {
  border-color: var(--ar-accent);
  box-shadow: 0 0 0 3px var(--ar-accent-ring);
}

/* An even grid, as on the traders page: cards share a row height. */
.ar-mk-grid .collection.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.ar-mk-grid .collection.row > .ar-mk-cell {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ar-mk,
.ar-mk:focus {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ar-border);
  border-radius: 14px;
  background: var(--ar-surface);
  color: var(--ar-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ar-mk:hover {
  border-color: var(--ar-border-strong);
  box-shadow: var(--ar-shadow);
}

.ar-mk-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ar-mk-top img {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.ar-mk-name {
  flex: 1;
  min-width: 0;
}

.ar-mk-name b,
.ar-mk-name small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-mk-name b {
  color: var(--ar-heading);
  font-size: 15px;
  font-weight: 700;
}

.ar-mk-name small {
  margin-top: 2px;
  color: var(--ar-muted);
  font-size: 12.5px;
}

.ar-mk-go {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--ar-accent);
  color: var(--ar-accent-text);
  font-size: 16px;
}

.ar-mk-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.ar-mk-bottom small {
  display: block;
  margin-bottom: 6px;
  color: var(--ar-muted);
  font-size: 11.5px;
}

.ar-mk-bottom b {
  color: var(--ar-heading);
  font-size: 15px;
  font-weight: 700;
}

.ar-mk-change {
  text-align: right;
}

.ar-mk-change b.ar-up {
  color: var(--ar-up);
}

.ar-mk-change b.ar-down {
  color: var(--ar-down);
}

.ar-mk-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  color: var(--ar-muted);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .ar-mk-grid .collection.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ar-mk-grid .collection.row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ar-mk-filters,
  .ar-mk-search,
  .ar-mk-search input.browser-default {
    width: 100%;
  }

  .ar-mk-filters select.browser-default {
    flex: 1;
  }
}

@charset "UTF-8";

/*!
 * animate.css -https://daneden.github.io/animate.css/
 * Version - 3.7.2
 * Licensed under the MIT license - http://opensource.org/licenses/MIT
 *
 * Copyright (c) 2019 Daniel Eden
 */

@-webkit-keyframes bounce {
  from,
  20%,
  53%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes bounce {
  from,
  20%,
  53%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0);
  }
}

.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
}

@-webkit-keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

@keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

.flash {
  -webkit-animation-name: flash;
  animation-name: flash;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
}

@-webkit-keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.rubberBand {
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand;
}

@-webkit-keyframes shake {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

@keyframes shake {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

.shake {
  -webkit-animation-name: shake;
  animation-name: shake;
}

@-webkit-keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg);
  }

  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg);
  }

  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg);
  }

  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg);
  }

  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg);
  }

  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg);
  }

  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg);
  }

  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg);
  }

  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.headShake {
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-name: headShake;
  animation-name: headShake;
}

@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }

  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }

  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.swing {
  -webkit-transform-origin: top center;
  transform-origin: top center;
  -webkit-animation-name: swing;
  animation-name: swing;
}

@-webkit-keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.tada {
  -webkit-animation-name: tada;
  animation-name: tada;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes wobble {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }

  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }

  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }

  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }

  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes wobble {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }

  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }

  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }

  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }

  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.wobble {
  -webkit-animation-name: wobble;
  animation-name: wobble;
}

@-webkit-keyframes jello {
  from,
  11.1%,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }

  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg);
  }

  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }

  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }

  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }

  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }

  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}

@keyframes jello {
  from,
  11.1%,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }

  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg);
  }

  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }

  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }

  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }

  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }

  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}

.jello {
  -webkit-animation-name: jello;
  animation-name: jello;
  -webkit-transform-origin: center;
  transform-origin: center;
}

@-webkit-keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  14% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  14% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.heartBeat {
  -webkit-animation-name: heartBeat;
  animation-name: heartBeat;
  -webkit-animation-duration: 1.3s;
  animation-duration: 1.3s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

@-webkit-keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.bounceIn {
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}

@-webkit-keyframes bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

@-webkit-keyframes bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInLeft {
  -webkit-animation-name: bounceInLeft;
  animation-name: bounceInLeft;
}

@-webkit-keyframes bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInRight {
  -webkit-animation-name: bounceInRight;
  animation-name: bounceInRight;
}

@-webkit-keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
}

@-webkit-keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  50%,
  55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
}

@keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  50%,
  55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
}

.bounceOut {
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-name: bounceOut;
  animation-name: bounceOut;
}

@-webkit-keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

@keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

.bounceOutDown {
  -webkit-animation-name: bounceOutDown;
  animation-name: bounceOutDown;
}

@-webkit-keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

@keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

.bounceOutLeft {
  -webkit-animation-name: bounceOutLeft;
  animation-name: bounceOutLeft;
}

@-webkit-keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

@keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

.bounceOutRight {
  -webkit-animation-name: bounceOutRight;
  animation-name: bounceOutRight;
}

@-webkit-keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

.bounceOutUp {
  -webkit-animation-name: bounceOutUp;
  animation-name: bounceOutUp;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

@-webkit-keyframes fadeInDownBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDownBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDownBig {
  -webkit-animation-name: fadeInDownBig;
  animation-name: fadeInDownBig;
}

@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

@-webkit-keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInLeftBig {
  -webkit-animation-name: fadeInLeftBig;
  animation-name: fadeInLeftBig;
}

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@-webkit-keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInRightBig {
  -webkit-animation-name: fadeInRightBig;
  animation-name: fadeInRightBig;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes fadeInUpBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUpBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUpBig {
  -webkit-animation-name: fadeInUpBig;
  animation-name: fadeInUpBig;
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@-webkit-keyframes fadeOutDown {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

.fadeOutDown {
  -webkit-animation-name: fadeOutDown;
  animation-name: fadeOutDown;
}

@-webkit-keyframes fadeOutDownBig {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

@keyframes fadeOutDownBig {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

.fadeOutDownBig {
  -webkit-animation-name: fadeOutDownBig;
  animation-name: fadeOutDownBig;
}

@-webkit-keyframes fadeOutLeft {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fadeOutLeft {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
}

@-webkit-keyframes fadeOutLeftBig {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

@keyframes fadeOutLeftBig {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

.fadeOutLeftBig {
  -webkit-animation-name: fadeOutLeftBig;
  animation-name: fadeOutLeftBig;
}

@-webkit-keyframes fadeOutRight {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight;
}

@-webkit-keyframes fadeOutRightBig {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

@keyframes fadeOutRightBig {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

.fadeOutRightBig {
  -webkit-animation-name: fadeOutRightBig;
  animation-name: fadeOutRightBig;
}

@-webkit-keyframes fadeOutUp {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

.fadeOutUp {
  -webkit-animation-name: fadeOutUp;
  animation-name: fadeOutUp;
}

@-webkit-keyframes fadeOutUpBig {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes fadeOutUpBig {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

.fadeOutUpBig {
  -webkit-animation-name: fadeOutUpBig;
  animation-name: fadeOutUpBig;
}

@-webkit-keyframes flip {
  from {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0)
      rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  40% {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
      rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
      rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  50% {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
      rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
      rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
      rotate3d(0, 1, 0, 0deg);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
      rotate3d(0, 1, 0, 0deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  to {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0)
      rotate3d(0, 1, 0, 0deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

@keyframes flip {
  from {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0)
      rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  40% {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
      rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
      rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  50% {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
      rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
      rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
      rotate3d(0, 1, 0, 0deg);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
      rotate3d(0, 1, 0, 0deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  to {
    -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0)
      rotate3d(0, 1, 0, 0deg);
    transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

.animated.flip {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  -webkit-animation-name: flip;
  animation-name: flip;
}

@-webkit-keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
}

@-webkit-keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.flipInY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
}

@-webkit-keyframes flipOutX {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  to {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

@keyframes flipOutX {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  to {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.flipOutX {
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-name: flipOutX;
  animation-name: flipOutX;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
}

@-webkit-keyframes flipOutY {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1;
  }

  to {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }
}

@keyframes flipOutY {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1;
  }

  to {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }
}

.flipOutY {
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipOutY;
  animation-name: flipOutY;
}

@-webkit-keyframes lightSpeedIn {
  from {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }

  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes lightSpeedIn {
  from {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }

  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.lightSpeedIn {
  -webkit-animation-name: lightSpeedIn;
  animation-name: lightSpeedIn;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
}

@-webkit-keyframes lightSpeedOut {
  from {
    opacity: 1;
  }

  to {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0;
  }
}

@keyframes lightSpeedOut {
  from {
    opacity: 1;
  }

  to {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0;
  }
}

.lightSpeedOut {
  -webkit-animation-name: lightSpeedOut;
  animation-name: lightSpeedOut;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
}

@-webkit-keyframes rotateIn {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes rotateIn {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.rotateIn {
  -webkit-animation-name: rotateIn;
  animation-name: rotateIn;
}

@-webkit-keyframes rotateInDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes rotateInDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.rotateInDownLeft {
  -webkit-animation-name: rotateInDownLeft;
  animation-name: rotateInDownLeft;
}

@-webkit-keyframes rotateInDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes rotateInDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.rotateInDownRight {
  -webkit-animation-name: rotateInDownRight;
  animation-name: rotateInDownRight;
}

@-webkit-keyframes rotateInUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes rotateInUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.rotateInUpLeft {
  -webkit-animation-name: rotateInUpLeft;
  animation-name: rotateInUpLeft;
}

@-webkit-keyframes rotateInUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes rotateInUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.rotateInUpRight {
  -webkit-animation-name: rotateInUpRight;
  animation-name: rotateInUpRight;
}

@-webkit-keyframes rotateOut {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0;
  }
}

@keyframes rotateOut {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0;
  }
}

.rotateOut {
  -webkit-animation-name: rotateOut;
  animation-name: rotateOut;
}

@-webkit-keyframes rotateOutDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }
}

@keyframes rotateOutDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }
}

.rotateOutDownLeft {
  -webkit-animation-name: rotateOutDownLeft;
  animation-name: rotateOutDownLeft;
}

@-webkit-keyframes rotateOutDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

@keyframes rotateOutDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

.rotateOutDownRight {
  -webkit-animation-name: rotateOutDownRight;
  animation-name: rotateOutDownRight;
}

@-webkit-keyframes rotateOutUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

@keyframes rotateOutUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

.rotateOutUpLeft {
  -webkit-animation-name: rotateOutUpLeft;
  animation-name: rotateOutUpLeft;
}

@-webkit-keyframes rotateOutUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0;
  }
}

@keyframes rotateOutUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0;
  }
}

.rotateOutUpRight {
  -webkit-animation-name: rotateOutUpRight;
  animation-name: rotateOutUpRight;
}

@-webkit-keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  20%,
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  40%,
  80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1;
  }

  to {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0;
  }
}

@keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  20%,
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  40%,
  80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1;
  }

  to {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0;
  }
}

.hinge {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: hinge;
  animation-name: hinge;
}

@-webkit-keyframes jackInTheBox {
  from {
    opacity: 0;
    -webkit-transform: scale(0.1) rotate(30deg);
    transform: scale(0.1) rotate(30deg);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
  }

  50% {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }

  70% {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes jackInTheBox {
  from {
    opacity: 0;
    -webkit-transform: scale(0.1) rotate(30deg);
    transform: scale(0.1) rotate(30deg);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
  }

  50% {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }

  70% {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.jackInTheBox {
  -webkit-animation-name: jackInTheBox;
  animation-name: jackInTheBox;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes rollIn {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes rollIn {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.rollIn {
  -webkit-animation-name: rollIn;
  animation-name: rollIn;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes rollOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
  }
}

@keyframes rollOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
  }
}

.rollOut {
  -webkit-animation-name: rollOut;
  animation-name: rollOut;
}

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

@-webkit-keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInDown {
  -webkit-animation-name: zoomInDown;
  animation-name: zoomInDown;
}

@-webkit-keyframes zoomInLeft {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInLeft {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInLeft {
  -webkit-animation-name: zoomInLeft;
  animation-name: zoomInLeft;
}

@-webkit-keyframes zoomInRight {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInRight {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInRight {
  -webkit-animation-name: zoomInRight;
  animation-name: zoomInRight;
}

@-webkit-keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInUp {
  -webkit-animation-name: zoomInUp;
  animation-name: zoomInUp;
}

@-webkit-keyframes zoomOut {
  from {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  to {
    opacity: 0;
  }
}

@keyframes zoomOut {
  from {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  to {
    opacity: 0;
  }
}

.zoomOut {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut;
}

@-webkit-keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomOutDown {
  -webkit-animation-name: zoomOutDown;
  animation-name: zoomOutDown;
}

@-webkit-keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
}

@keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
}

.zoomOutLeft {
  -webkit-animation-name: zoomOutLeft;
  animation-name: zoomOutLeft;
}

@-webkit-keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
}

@keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
}

.zoomOutRight {
  -webkit-animation-name: zoomOutRight;
  animation-name: zoomOutRight;
}

@-webkit-keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomOutUp {
  -webkit-animation-name: zoomOutUp;
  animation-name: zoomOutUp;
}

@-webkit-keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}

@-webkit-keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
}

@-webkit-keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInRight {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
}

@-webkit-keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

@-webkit-keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

.slideOutDown {
  -webkit-animation-name: slideOutDown;
  animation-name: slideOutDown;
}

@-webkit-keyframes slideOutLeft {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes slideOutLeft {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.slideOutLeft {
  -webkit-animation-name: slideOutLeft;
  animation-name: slideOutLeft;
}

@-webkit-keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.slideOutRight {
  -webkit-animation-name: slideOutRight;
  animation-name: slideOutRight;
}

@-webkit-keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

.slideOutUp {
  -webkit-animation-name: slideOutUp;
  animation-name: slideOutUp;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.animated.delay-1s {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.animated.delay-2s {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

.animated.delay-3s {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.animated.delay-4s {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}

.animated.delay-5s {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}

.animated.fast {
  -webkit-animation-duration: 800ms;
  animation-duration: 800ms;
}

.animated.faster {
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
}

.animated.slow {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}

.animated.slower {
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
}

@media (print), (prefers-reduced-motion: reduce) {
  .animated {
    -webkit-animation-duration: 1ms !important;
    animation-duration: 1ms !important;
    -webkit-transition-duration: 1ms !important;
    transition-duration: 1ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
  }
}

:root {
  /* Last-resort value only — skin.js writes --primary-button on :root from
     NODE_PRIMARY (or the active skin's entry in SKIN_PRIMARY), and an inline
     style out-ranks this. */
  --primary-button: #766fb2;

  /* material-resets-public.css styles .btn-alt-secondary, .btn-trans-secondary
     and .btn-alt-secondary:hover out of this token, but nothing in the repo has
     ever DEFINED it — those three rules have always resolved var() to nothing,
     which makes the whole declaration invalid at computed-value time, so the
     border and text colour silently fell back to inherited values. A mid slate
     reads against both the light and the dark themes. */
  --secondary-button: #6078a9;

  --secondary-link-colour: #766fb2;

  --primary-border-colour: silver;

  /* The "included" tick on the plan cards. Was hardcoded inline in three
     separate copies of the plan card; defined here so it is themeable in one
     place. The value is the teal those cards already used. */
  --plan-check-colour: #30bca6;
}

iframe[src*='embed-widget'] {
  pointer-events: none;
}

/* ─── Live chat, clear of a bottom bar ─────────────────────────────────────
   Smartsupp pins its launcher to the bottom-right of the viewport, which is
   where several skins put a bottom tab bar — cry's .cry-tabbar, ar's nav, the
   mobile bars in be and ut. The bubble lands on top of the last tab and eats
   the tap. Lifting the whole widget clears it, open window and all.

   The widget's own styles are inline, so this has to out-rank them. The lift
   is a token: a skin with a taller bar raises it from its own skin.css with
   `:root { --chat-lift: 110px; }` rather than repeating the selectors. */

:root {
  --chat-lift: 86px;
  --chat-size: 56px;
}

#smartsupp-widget-container > div,
#smartsupp-widget-container > iframe {
  bottom: var(--chat-lift) !important;
}

/* The WhatsApp button is in the SAME corner — `style={{ left: '10px' }}` on a
   Materialize .fixed-action-btn, in forty skins. Lifted it would land on the
   chat bubble, so it is stacked above it instead. The attribute selector is
   what separates it from the admin's own add buttons, which keep the default
   bottom-right corner and must not move. */

.fixed-action-btn[style^="left:"] {
  bottom: calc(var(--chat-lift) + var(--chat-size) + 14px);
}

#goog-gt-vt {
  display: none;
}

iframe.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none;
}

/* Hide the Google Translate top banner */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

/* The default app's face. Set on BODY, not on .ap — that class is only on the
   guest layout, so /user and /cp were falling back to Materialize's default
   and the three areas did not match. The app stylesheet is the last one the
   shells load, so this wins on order without needing !important. */
:root {
  --ap-font: 'Signika Negative', 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--ap-font);
}

/* SCOPING (CRITICAL): this stylesheet used to be a skin's own _css/ap.css, so
   it could style bare `body`/`h1`/`.btn`. It now lives in the DEFAULT tree and
   is imported by app/(guest)/_layout.js, which means it bundles for EVERY skin
   — an unscoped rule here repaints every other skin's buttons and headings.
   So the design-wide rules below are scoped to `.ap`, the wrapper the default
   guest chrome renders. A skin that ships its own (guest)/_layout.js never
   renders that wrapper, so it keeps its own typography and buttons. Everything
   else in this file is already `.ap-*` prefixed — keep it that way. */
.ap {
  font-size: 16px;
  font-family: var(--ap-font);
}

/* Materialize pins .btn to `height: 36px; line-height: 36px`, so vertical
   padding alone cannot make the button taller — with box-sizing: border-box it
   only shrinks the content box while the 36px line box still starts BELOW the
   top padding, dropping the label ~7.5px under centre. That read as too much
   padding on top. Releasing the fixed height and the 36px line-height lets the
   padding do what it was written to do and re-centres the label. */
.ap .btn {
  height: auto;
  line-height: 1.5;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 20px;
}

.ap .btn.btn-secondary {
  border-color: #334155;
}

/* ─── Language switcher ────────────────────────────────────────────────────
   Rendered from the footer but pinned to the viewport, matching the reference.
   Bottom-LEFT on purpose: bottom-right is where support/chat buttons live. */
.ap .ap-translator {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 900;
}

.ap .ap-translator-trigger {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border-colour);
  border-radius: 999px;
  background: var(--primary-background);
  color: var(--background-font-colour);
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ap .ap-translator-trigger .material-icons {
  font-size: 18px;
}

/* Catches the click that closes the panel without dimming the page. */
.ap .ap-translator-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.ap .ap-translator-list {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 2;
  width: 220px;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--border-colour);
  border-radius: 14px;
  background: var(--primary-background);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.ap .ap-translator-list li {
  margin: 0;
}

.ap .ap-translator-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--background-font-colour);
  cursor: pointer;
}

.ap .ap-translator-list a:hover {
  background: var(--hover);
}

.ap .ap-translator-current {
  font-weight: 600;
  background: var(--hover);
}

/* ─── Nav brand ────────────────────────────────────────────────────────────
   An <img> in a Materialize nav sits on the text baseline of a 64px
   line-height, which parks a 36px logo well above centre — the markup used to
   correct that with an inline `top: -8px`, which still left it 21px high and
   clipping the top of the bar. Centring it properly needs no magic number. */
.ap nav .ap-nav-brand a {
  display: flex;
  align-items: center;
  height: 64px;
  margin-left: -10px; /* optical: pulls the mark back to the container edge */
}

.ap nav .ap-nav-brand img {
  display: block;
}

/* ─── Hero background video ────────────────────────────────────────────────
   The section keeps its own dark `bg bg-secondary` surface, so a failed or
   still-buffering video degrades to exactly what was there before rather than
   to a blank band. The video is painted over that, the overlay over the video,
   and the copy over the overlay. */
.ap .ap-hero {
  position: relative;
  overflow: hidden;
}

.ap .ap-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  pointer-events: none; /* decoration — never eats a click or a scroll */
}

/* Without this the copy would have to survive whatever frame is behind it. */
.ap .ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 1, 33, 0.55);
}

.ap .ap-hero-inner {
  position: relative; /* lifts the copy above the video + overlay */
}

/* ─── The nav sits ON the hero video ───────────────────────────────────────
   This nav is a normal in-flow element (no Materialize .navbar-fixed), so the
   hero begins BELOW it and .ap-hero's overflow:hidden clips the video short of
   the bar. Lifting the nav out of flow lets the hero start at y=0 and paint
   its video the full height, nav included.

   :has() keeps all of this to pages that actually have a hero — every other
   guest page keeps its normal in-flow, solid bar. */
.ap:has(.ap-hero) {
  position: relative; /* containing block for the nav below */
}

.ap:has(.ap-hero) nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3; /* over the hero's video AND its overlay */
}

/* The nav no longer occupies flow, so the hero owes its content that height. */
.ap:has(.ap-hero) .ap-hero {
  padding-top: 64px;
}

/* No scroll-toggle back to a solid bar: this nav is not sticky, so it simply
   scrolls away with the hero and never ends up over other content. */
.ap:has(.ap-hero) nav {
  background: transparent;
  box-shadow: none;
}

.ap h1 {
  font-size: 72px;
  font-weight: 600;
}

.ap h2 {
  font-size: 40px;
  font-weight: 600;
}

/* ─── ap mobile drawer menu (skin-local, no M.Sidenav) ──────────────────── */

.ap-menu-trigger {
  cursor: pointer;
}

.ap-menu-trigger .material-icons {
  font-size: 28px;
  vertical-align: middle;
}

.ap-drawer-root {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  pointer-events: none;
}

.ap-drawer-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(4, 6, 16, 0.62);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ap-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  padding: 26px 24px 30px;
  overflow-y: auto;
  background: #10152a; /* solid fallback when backdrop-filter unsupported */
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -30px 0 70px rgba(4, 6, 16, 0.55);
  color: #e2e8f0;
  font-family: var(--ap-font);
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.3, 1);
}

@supports ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .ap-drawer {
    background: rgba(12, 15, 25, 0.8);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
  }
}

/* hairline indigo shine across the drawer top — same motif as the ap signin card */
.ap-drawer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0), rgba(129, 140, 248, 0.75), rgba(129, 140, 248, 0));
}

.ap-drawer-root.ap-open {
  pointer-events: auto;
}

.ap-drawer-root.ap-open .ap-drawer-overlay {
  opacity: 1;
}

.ap-drawer-root.ap-open .ap-drawer {
  transform: translateX(0);
}

.ap-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ap-drawer-brand {
  display: flex;
  align-items: center;
}

.ap-drawer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-right: 10px;
}

.ap-drawer-brand span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.ap-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #a5b4fc;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ap-drawer-close:hover {
  background: rgba(79, 70, 229, 0.32);
  color: #ffffff;
}

.ap-drawer-close .material-icons {
  font-size: 21px;
}

.ap-drawer-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.8);
}

.ap-drawer-links {
  margin: 0 0 24px;
}

.ap-drawer-links li {
  list-style: none;
}

.ap-drawer-links a {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  padding: 12px 14px;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.85);
  border: 1px solid transparent;
  border-radius: 13px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ap-drawer-links a .material-icons {
  font-size: 20px;
  margin-right: 12px;
  color: #818cf8;
}

.ap-drawer-links a:hover {
  background: rgba(79, 70, 229, 0.16);
  border-color: rgba(129, 140, 248, 0.3);
  color: #ffffff;
}

.ap-drawer-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.4);
}

.ap-drawer-cta p {
  margin: 12px 0 0;
  font-size: 12.5px;
  text-align: center;
  color: rgba(226, 232, 240, 0.5);
}

/* ─── ap page hero strip (contact + article pages) ──────────────────────── */

.ap-page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}

.ap-page-hero::before {
  content: '';
  position: absolute;
  top: -280px;
  left: 50%;
  width: 920px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.42) 0%, rgba(79, 70, 229, 0) 70%);
  pointer-events: none;
}

.ap-page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0), rgba(129, 140, 248, 0.6), rgba(129, 140, 248, 0));
}

.ap-hero-inner {
  position: relative;
}

.ap-hero-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: #a5b4fc;
}

.ap-page-hero h1 {
  margin: 0.4rem 0 1rem;
  font-size: 46px;
  color: #ffffff;
}

.ap-hero-sub {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(226, 232, 240, 0.7);
}

/* ─── ap shared frosted card ────────────────────────────────────────────── */

.ap-card {
  position: relative;
  padding: 2.2rem 2.4rem;
  background: var(--primary-background);
  border: 1px solid var(--primary-border-colour);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(8, 12, 30, 0.1);
}

.ap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0), rgba(129, 140, 248, 0.65), rgba(129, 140, 248, 0));
}

/* ─── ap contact page ───────────────────────────────────────────────────── */

.ap-contact {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.ap-contact-panel {
  position: relative;
  overflow: hidden;
  padding: 2.2rem 1.8rem;
  background: #0c0f19;
  background-image: linear-gradient(180deg, #0f1428 0%, #0c0f19 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: #e2e8f0;
  box-shadow: 0 22px 60px rgba(8, 12, 30, 0.25);
}

.ap-contact-panel::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.4) 0%, rgba(79, 70, 229, 0) 70%);
  pointer-events: none;
}

.ap-contact-panel h5 {
  position: relative;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}

.ap-contact-panel-sub {
  position: relative;
  margin: 0 0 22px;
  font-size: 14.5px;
  color: rgba(226, 232, 240, 0.65);
}

.ap-contact-list {
  position: relative;
  margin: 0;
}

.ap-contact-list li {
  display: flex;
  align-items: center;
  padding: 11px 0;
  font-size: 15px;
  color: rgba(226, 232, 240, 0.85);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  list-style: none;
}

.ap-contact-list li:last-child {
  border-bottom: 0;
}

.ap-contact-list .material-icons {
  font-size: 19px;
  margin-right: 12px;
  padding: 6px;
  color: #818cf8;
  background: rgba(79, 70, 229, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 9px;
}

.ap-contact-card h5 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: var(--background-heading-colour);
}

.ap-contact-card-sub {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--primary-font-colour);
}

.ap-contact .ap-card .input-field input[type='text'],
.ap-contact .ap-card .input-field input[type='email'],
.ap-contact .ap-card .input-field textarea {
  box-sizing: border-box;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--primary-border-colour);
  border-radius: 13px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ap-contact .ap-card .input-field input[type='text']:focus,
.ap-contact .ap-card .input-field input[type='email']:focus,
.ap-contact .ap-card .input-field textarea:focus {
  outline: none;
  border: 1px solid #4f46e5;
  border-bottom: 1px solid #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.22);
}

.ap-contact .ap-card .input-field label {
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  color: var(--primary-font-colour);
}

.ap-contact .ap-card .btn-full {
  width: 100%;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.35);
}

/* ─── ap article page ───────────────────────────────────────────────────── */

.ap-article {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.ap-article-card {
  padding: 2.6rem 2.8rem;
  font-size: 17px;
  line-height: 1.85;
  color: var(--background-font-colour);
}

.ap-article-card > div {
  margin-bottom: 0.35rem;
}

.ap-article-card b {
  color: var(--background-heading-colour);
}

.ap-article-card img.responsive-img,
.ap-article-card video {
  border-radius: 14px;
}

@media (min-width: 319px) and (max-width: 490px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .ap-drawer {
    width: 100%;
    max-width: 100%;
    border-left: 0;
    border-radius: 0;
  }

  .ap-page-hero {
    padding: 3rem 0 3.4rem;
  }

  .ap-page-hero h1 {
    font-size: 30px;
  }

  .ap-card {
    padding: 1.6rem 1.2rem;
    border-radius: 18px;
  }

  .ap-contact {
    padding-top: 2rem;
  }

  .ap-contact-panel {
    padding: 1.8rem 1.4rem;
    border-radius: 18px;
  }

  .ap-article {
    padding-top: 2rem;
  }

  .ap-article-card {
    padding: 1.8rem 1.3rem;
    font-size: 16px;
  }
}

/* ─── Reviews list ─────────────────────────────────────────────────────────
   DELIBERATELY NOT `.ap`-SCOPED, unlike everything above. APReviewsComponent is
   reached through TourContentComponent, which 24 skins render, and a skin with
   its own (guest)/_layout.js never emits the `.ap` wrapper — scoping these
   would blank the cards there and let the page colour show through (that was
   the blue tint in `ad`, whose --background-colour is #e6f3fd).

   Safe to leave unscoped because every selector is named `.ap-review*`, which
   only ever matches markup this one component renders. Colours come from the
   theme vars, so each skin's palette applies on its own. */

.ap-reviews {
  max-width: 48rem;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.ap-review {
  background: var(--primary-background);
  border: 1px solid var(--border-colour);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin: 0 0 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.ap-reviews-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.ap-reviews-stars svg {
  display: block;
  color: #06b6d4;
}

.ap-review blockquote {
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--background-font-colour);
}

.ap-review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-colour);
}

.ap-review figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================================
   (user) — dashboard area
   Moved here from (user)/user.css: the default skin has ONE
   stylesheet, same rule every skin follows (see ai-rules.md).
   ============================================================ */

/* Tab switches. The tab wrapper in a route file is keyed on the active tab
   (see wallets.js), so switching remounts that node and replays this
   animation — no transition library and no exit state to coordinate. Keep it
   short: this sits between the click and the content. */
.tab-fade {
  animation: tab-fade-in 220ms ease-out;
}

@keyframes tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tab-fade {
    animation: none;
  }
}

/* ─── Asset chart (holding / mining asset tabs) ────────────────────────────
   BrokerChartsComponent fills its container, and this one had no height — so
   under two full-height buy/sell panels the chart collapsed to the widget's
   own minimum. Every wrapper down to the iframe has to be stretched, since
   the TradingView levels ask for height:100% and that resolves to nothing
   unless each ancestor has one. */

.app-asset-chart {
  height: 55vh;
  margin-top: 8px;
}

.app-asset-chart > *,
.app-asset-chart .tradingview-widget-container,
.app-asset-chart .tradingview-widget-container > div:first-child,
.app-asset-chart iframe {
  width: 100%;
  height: 100%;
}

.app-asset-chart .tradingview-widget-copyright {
  display: none;
}



/* LiveChartComponent stamps the symbol as an <h2> over the top-left of the
   plot. The page heading above already names the asset, so it is the same
   word twice — and at that size it covers the first candles. */
.app-asset-chart h2 {
  display: none;
}

/* app.css disables pointer events on every TradingView embed
   (`iframe[src*='embed-widget']`) so the DECORATIVE ones — the guest ticker
   tape, the mini sparklines — cannot swallow clicks or scroll.
   This chart is not decorative: its range switcher (1D · 1M · 3M · 1Y · 5Y ·
   All) is the whole point, and the blanket rule made those tabs dead. Give
   the interaction back here only, rather than lifting the rule globally. */
.app-asset-chart iframe[src*='embed-widget'] {
  pointer-events: auto;
}


/* ═══ /user — the dashboard ═══════════════════════════════════════════════
   Modelled on the lqo wallet layout: a glow hero carrying the headline figure
   and two pills, then two panels of rows beneath it.

   The classes are the DEFAULT skin's own (db-*), not lqo's — a skin never
   reaches into another skin's stylesheet (ai-rules #11), so the look is
   reproduced here rather than borrowed.

   Three answers and nothing else: what the account is worth, the two balances
   behind that figure, and how the closed trades have gone. */

.db-hero {
  margin: -18px -18px 20px -18px;
  padding: 30px 20px;
  border-radius: 0 0 28px 28px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(110% 130% at 50% 0%, rgba(230, 255, 42, 0.3), transparent 62%),
    linear-gradient(180deg, #232b06 0%, #11150a 68%, #05060a 100%);
}

.db-hero small {
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.72);
}

.db-hero h2 {
  margin: 4px 0;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  /* Tabular figures so the headline does not jitter as the live number ticks. */
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.db-hero-pnl {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
}

.db-up {
  color: #0eba1f;
}

.db-down {
  color: #e5484d;
}

.db-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.db-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.15s ease;
}

.db-pill:hover {
  transform: translateY(-1px);
}

.db-pill .material-icons {
  font-size: 17px;
}

.db-pill-volt {
  background: #e6ff2a;
  color: #030507;
}

.db-pill-white {
  background: #ffffff;
  color: #030507;
}

/* ─── Panels ────────────────────────────────────────────────────────────
   Side by side on a desktop, stacked on a phone. */

.db-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 992px) {
  .db-grid {
    grid-template-columns: 1fr;
  }
}

.db-section {
  background: var(--primary-background);
  border: 1px solid var(--border-colour);
  border-radius: 18px;
  padding: 14px 16px;
}

/* Holds the panel's heading. Kept as a flex row so a control can sit beside
   the title later without the heading jumping. */
.db-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.db-section-head h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--background-heading-colour);
}

.db-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 8px;
  margin: 0 -8px;
  border-radius: 14px;
  transition: background 0.15s ease;
}

.db-row:hover {
  background: var(--hover);
}

.db-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: var(--background-colour);
  border: 1px solid var(--border-colour);
  color: var(--background-heading-colour);
  flex: 0 0 auto;
}

.db-row-icon .material-icons {
  font-size: 19px;
}

.db-row-name {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.db-row-name b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--background-heading-colour);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.db-row-name small {
  font-size: 11.5px;
  color: var(--primary-font-colour);
}

.db-row-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--background-heading-colour);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.db-empty {
  text-align: center;
  padding: 16px 0;
  color: var(--primary-font-colour);
}

/* The live row gets a quiet pulse so a number that moves does not look like a
   stored one. */
.db-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0eba1f;
  margin-right: 6px;
  vertical-align: middle;
  animation: db-pulse 2.4s ease-in-out infinite;
}

@keyframes db-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .db-live-dot { animation: none; }
}

@media (max-width: 600px) {
  .db-hero h2 {
    font-size: 34px;
  }
}

/* ─── Shared lists inside a db-section ──────────────────────────────────
   The trade lists, watchlist and their kin are Materialize `collection`
   markup and stay that way: open positions carry live profit, a countdown, a
   close button and the trader-name rule, and re-drawing those rows to match
   these panels would mean re-implementing all of it.

   So the PANEL adapts instead — the collection loses its own card edge and
   sits on the panel's rhythm rather than looking like a second card dropped
   inside the first. */

.db-section .collection {
  border: 0;
  margin: 0;
  list-style: none;
  padding-left: 0;
  background: transparent;
}

.db-section .collection .collection-item {
  background: transparent;
  border-bottom: 1px solid var(--border-colour);
  padding: 11px 8px;
  margin: 0 -8px;
  border-radius: 14px;
  transition: background 0.15s ease;
}

.db-section .collection .collection-item:last-child {
  border-bottom: 0;
}

.db-section .collection .collection-item:hover {
  background: var(--hover);
}

/* The ticket's inputs are Materialize columns inside a panel that is already
   padded, so the row's negative gutters would push them past the edge. */
.db-section form .row {
  margin-left: 0;
  margin-right: 0;
}

/* A panel that stands on its own rather than sitting in the two-column grid —
   for rows too wide to survive half the content width. */
.db-section-stacked {
  margin-top: 18px;
}


/* ---- withdrawal view ----
   The label/value lines in the transaction summary. Materialize rows carry a
   20px bottom margin, which stacked four of them into a very tall card. */
.wv-line {
  margin-bottom: 0 !important;
}

.wv-line .col {
  padding-top: 4px;
  padding-bottom: 4px;
}

/* ─── Crypto cards (/user/cards) ─────────────────────────────────────────────
   Every rule is scoped under .cc. Colours come from the shared theme tokens
   (app/skin.js and each skin's skin.js set them), with the card artwork's own
   --cc-art-* tokens; the accent is --primary-button. */

.cc {
  /* This page renders inside every skin, and only app/skin.js sets the card
     artwork tokens — a skin that leaves them unset gets these, the values
     app/skin.js uses. */
  --cc-from: var(--cc-art-from, #1c7a4d);
  --cc-to: var(--cc-art-to, #0b3b26);
  --cc-chip: var(--cc-art-chip, #e9c46a);
  --cc-ink: var(--cc-art-ink, #ffffff);

  --cc-accent: var(--primary-button);
  --cc-accent-soft: color-mix(in srgb, var(--primary-button) 13%, transparent);
  --cc-heading: var(--background-heading-colour);
  --cc-text: var(--primary-font-colour);
  --cc-line: var(--primary-border-colour);
  --cc-surface: var(--primary-background);
  --cc-muted-surface: color-mix(in srgb, var(--primary-border-colour) 28%, var(--primary-background));

  padding: 8px 0 24px;
}

.cc h1,
.cc h2,
.cc h3,
.cc h4 {
  color: var(--cc-heading);
}

.cc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.cc-head h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.cc-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--cc-text);
  font-size: 14px;
}

.cc-crumbs a {
  color: var(--cc-text);
}

.cc-crumbs a:hover {
  color: var(--cc-accent);
}

.cc-panel {
  margin-bottom: 20px;
  padding: 28px;
  border: 1px solid var(--cc-line);
  border-radius: 18px;
  background: var(--cc-surface);
}

.cc-panel .row {
  margin-bottom: 0;
}

.cc-btn,
.cc-btn:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--cc-accent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary-button) 30%, transparent);
  color: var(--nav-secondary-font-colour);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
}

.cc-btn:hover {
  background: color-mix(in srgb, var(--primary-button) 88%, var(--secondary-background));
  color: var(--nav-secondary-font-colour);
}

.cc-btn-light,
.cc-btn-light:focus {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--cc-line);
  background: var(--cc-surface);
  box-shadow: none;
  color: var(--cc-heading);
  font-size: 14px;
}

.cc-btn-light:hover {
  background: var(--cc-muted-surface);
  color: var(--cc-heading);
}

.cc-btn-block,
.cc-btn-block:focus {
  display: flex;
  width: 100%;
}

.cc-link,
.cc-link:focus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cc-accent);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.cc-link .material-icons {
  font-size: 18px;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.cc-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--cc-accent-soft);
  color: var(--cc-accent);
}

.cc-icon .material-icons {
  font-size: 22px;
}

.cc-icon-sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.cc-icon-sm .material-icons {
  font-size: 18px;
}

/* Hero */

.cc-hero {
  overflow: hidden;
  padding: 0;
}

.cc-hero > .row {
  display: flex;
  flex-wrap: wrap;
}

.cc-hero > .row > .col {
  margin-left: 0;
}

.cc-hero > .row > .col.cc-hero-copy {
  padding: 44px 40px;
}

.cc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--cc-accent-soft);
  color: var(--cc-accent);
  font-size: 13.5px;
  font-weight: 700;
}

.cc-badge .material-icons {
  font-size: 16px;
}

.cc-hero h2 {
  margin: 22px 0 18px;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.08;
}

.cc-hero p {
  max-width: 440px;
  margin: 0 0 22px;
  color: var(--cc-text);
  font-size: 16px;
  line-height: 1.65;
}

.row.cc-highlights {
  margin: 0 -6px 26px;
}

.row.cc-highlights > .col {
  padding: 6px;
}

.cc-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cc-heading);
  font-size: 14.5px;
  font-weight: 600;
  word-break: normal;
}

.cc-hero > .row > .col.cc-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: radial-gradient(420px 260px at 70% 30%, var(--cc-accent-soft), transparent 70%), var(--cc-muted-surface);
}

/* The card. It is a size container, so every offset and font below is in
   cqw (1% of the card's own width) and the card scales as one piece — the
   numbers match a 400px-wide card. */

.cc-art {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1.586;
  overflow: hidden;
  border-radius: 4cqw;
  background: radial-gradient(circle at 18% -10%, color-mix(in srgb, var(--cc-ink) 16%, transparent) 0 42%, transparent 42.5%),
    radial-gradient(circle at 105% 115%, color-mix(in srgb, var(--cc-ink) 14%, transparent) 0 34%, transparent 34.5%),
    linear-gradient(135deg, var(--cc-from), var(--cc-to));
  box-shadow: 0 28px 60px color-mix(in srgb, var(--cc-to) 45%, transparent);
  color: var(--cc-ink);
}

.cc-art-logo {
  position: absolute;
  top: 3.5cqw;
  left: 6.5cqw;
  font-size: 16cqw;
  font-weight: 800;
  line-height: 1;
}

.cc-art-chip {
  position: absolute;
  top: 26%;
  right: 7.5cqw;
  width: 11.5cqw;
  height: 9cqw;
  border-radius: 2cqw;
  background: linear-gradient(135deg, var(--cc-chip), color-mix(in srgb, var(--cc-chip) 65%, var(--cc-to)));
}

.cc-art-number {
  position: absolute;
  top: 58%;
  left: 6.5cqw;
  font-size: 3.75cqw;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.cc-art-holder,
.cc-art-expiry {
  position: absolute;
  bottom: 5.5cqw;
  font-size: 3.25cqw;
  font-weight: 700;
  text-transform: uppercase;
}

.cc-art-holder {
  left: 6.5cqw;
  max-width: 48%;
}

.cc-art-holder b {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cc-art-expiry {
  left: 56%;
}

.cc-art small {
  display: block;
  margin-bottom: 0.75cqw;
  font-size: 2.25cqw;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.cc-art-brand {
  position: absolute;
  right: 6cqw;
  bottom: 4.5cqw;
  text-align: right;
}

.cc-art-brand b {
  font-size: 7.5cqw;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Why choose */

.cc-why {
  background: var(--cc-muted-surface);
  text-align: center;
}

.cc-why h3 {
  margin: 8px 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.cc-sub {
  margin: 0 0 28px;
  color: var(--cc-text);
  font-size: 16px;
}

.row.cc-reasons {
  display: flex;
  flex-wrap: wrap;
}

.row.cc-reasons > .col {
  display: flex;
  margin-left: 0;
  margin-bottom: 16px;
}

.cc-reason {
  flex: 1;
  padding: 24px 22px;
  border: 1px solid var(--cc-line);
  border-radius: 14px;
  background: var(--cc-surface);
  text-align: left;
}

.cc-reason h4 {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.cc-reason p {
  margin: 0;
  color: var(--cc-text);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Secure banner */

.cc-secure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  padding: 22px 28px;
}

.cc-secure-text {
  flex: 1;
  min-width: 220px;
}

.cc-secure h4 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 800;
}

.cc-secure p {
  margin: 0;
  color: var(--cc-text);
  font-size: 14.5px;
}

/* Request form */

.cc-panel-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.cc-request .form-top-label {
  text-transform: capitalize;
}

.cc-request-side {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.cc-tiers {
  width: 100%;
  margin: 0;
}

.cc-tiers li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cc-line);
  color: var(--cc-text);
  font-size: 14px;
}

.cc-tiers li:last-child {
  border-bottom: 0;
}

.cc-tiers b {
  color: var(--cc-heading);
}

.cc-fine {
  margin: 0;
  color: var(--cc-text);
  font-size: 13px;
  text-align: center;
}

.cc-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cc-heading);
}

.cc-note .material-icons {
  color: var(--cc-accent);
}

/* Applications */

.cc-apps .collection .collection-item.cc-app {
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 1px solid var(--cc-line);
  border-radius: 16px;
  background: var(--cc-surface);
}

.cc-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cc-app-head b {
  display: block;
  color: var(--cc-heading);
  font-size: 18px;
}

.cc-app-head small {
  color: var(--cc-text);
  font-size: 13px;
}

.cc-status {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.cc-status-pending,
.cc-status-active {
  background: var(--cc-accent-soft);
  color: var(--cc-accent);
}

.cc-status-done {
  background: var(--cc-accent);
  color: var(--nav-secondary-font-colour);
}

.cc-status-declined {
  background: var(--cc-muted-surface);
  color: var(--cc-heading);
}

.cc-steps {
  display: flex;
  gap: 6px;
  margin: 20px 0 18px;
  padding: 0;
  list-style: none;
}

.cc-steps li {
  flex: 1;
  padding: 0;
  color: var(--cc-text);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.cc-step-dot {
  display: block;
  height: 6px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: var(--cc-muted-surface);
}

.cc-steps li.done {
  color: var(--cc-heading);
}

.cc-steps li.done .cc-step-dot {
  background: var(--cc-accent);
}

.cc-declined {
  margin: 16px 0;
  color: var(--cc-heading);
  font-weight: 600;
}

.cc-app-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 20px;
  margin: 0;
}

.cc-app-details dt {
  color: var(--cc-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cc-app-details dd {
  margin: 4px 0 0;
  color: var(--cc-heading);
  font-size: 14.5px;
}

.cc-app-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--cc-muted-surface);
  color: var(--cc-heading);
  font-size: 14px;
}

.cc-apps-cta {
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .cc-head h1 {
    font-size: 26px;
  }

  .cc-panel {
    padding: 20px;
  }

  .cc-hero > .row > .col.cc-hero-copy {
    padding: 28px 22px;
  }

  .cc-hero h2 {
    font-size: 34px;
  }

  .cc-highlight {
    gap: 8px;
    font-size: 13px;
  }

  .cc-hero > .row > .col.cc-hero-art {
    padding: 28px 20px;
  }

  .cc-why h3 {
    font-size: 24px;
  }

  .cc-steps li {
    font-size: 10.5px;
  }
}

