/* YuCoins offerwall toolbar. Reuses the configured YuCoins site logo. */
.provider-wall-toolbar.yc-wall-toolbar {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 10px 14px;
  border: 1px solid rgba(115, 180, 222, .24);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(115deg, #0a1c2d 0%, #10293b 50%, #091a2b 100%);
  box-shadow: inset 0 1px 0 rgba(170, 214, 240, .07), 0 8px 24px rgba(0, 0, 0, .18);
  isolation: isolate;
}
.yc-wall-toolbar .yc-wall-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 142px;
  height: 42px;
  direction: ltr;
}
.yc-wall-toolbar .yc-wall-logo > img,
.yc-wall-toolbar .yc-wall-logo .custom-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 142px;
  max-height: 42px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.yc-wall-toolbar .yc-wall-logo > svg {
  display: block;
  width: 42px;
  height: 42px;
  flex: none;
}
.yc-wall-toolbar .provider-wall-back,
.yc-wall-toolbar .provider-wall-external {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  width: max-content;
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid rgba(121, 185, 227, .28);
  border-radius: 13px;
  color: #d6e9f8;
  background: rgba(9, 23, 38, .58);
  box-shadow: inset 0 1px 0 rgba(180, 221, 246, .04);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease;
}
.yc-wall-toolbar .provider-wall-back {
  justify-self: start;
  width: 44px;
  padding: 0;
}
.yc-wall-toolbar .provider-wall-external {
  justify-self: end;
}
.yc-wall-toolbar .provider-wall-back svg,
.yc-wall-toolbar .provider-wall-external svg {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  color: #94c9f0;
}
.yc-wall-toolbar .provider-wall-back:hover,
.yc-wall-toolbar .provider-wall-external:hover {
  border-color: rgba(142, 207, 249, .6);
  background: rgba(37, 75, 106, .56);
}
.yc-wall-toolbar .provider-wall-back:focus-visible,
.yc-wall-toolbar .provider-wall-external:focus-visible {
  outline: 2px solid #b7e2ff;
  outline-offset: 3px;
}
.yc-wall-toolbar #provider-wall-external-slot {
  justify-self: end;
  width: 44px;
  height: 44px;
}
@media (max-width: 600px) {
  .provider-wall-toolbar.yc-wall-toolbar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
    min-height: 64px;
    padding: 9px 12px;
    border-inline: 0;
    border-radius: 0;
  }
  .yc-wall-toolbar .yc-wall-logo {
    justify-self: center;
    width: min(142px, 100%);
    height: 38px;
  }
  .yc-wall-toolbar .yc-wall-logo > img,
  .yc-wall-toolbar .yc-wall-logo .custom-brand-logo {
    max-width: 100%;
    max-height: 38px;
  }
  .yc-wall-toolbar .provider-wall-external {
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    font-size: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yc-wall-toolbar .provider-wall-back,
  .yc-wall-toolbar .provider-wall-external { transition: none; }
}
