/* MetaCore gateway — right profile drawer */
.mc-gw-profile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 920;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(2, 6, 23, 0.55);
  cursor: pointer;
}
.mc-gw-profile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100vw, 340px);
  z-index: 930;
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform 0.24s ease;
  border-left: 1px solid rgba(168, 85, 247, 0.28);
  background:
    linear-gradient(180deg, rgba(8, 10, 28, 0.99), rgba(12, 8, 32, 0.97));
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.45);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color: #e8eef8;
  font-family: Inter, system-ui, sans-serif;
}
.mc-gw-profile-panel.is-open {
  transform: translateX(0);
}
.mc-gw-profile-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #00f0ff, #a855f7);
  opacity: 0.85;
  pointer-events: none;
}
body.mc-gw-profile-open {
  overflow: hidden;
}
.mc-gw-pp-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mc-gw-pp-head strong {
  display: block;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #00f0ff;
  text-transform: uppercase;
}
.mc-gw-pp-head small {
  display: block;
  margin-top: 4px;
  color: #8fa0b8;
  font-size: 11px;
}
.mc-gw-pp-head > div { flex: 1; min-width: 0; }
.mc-gw-pp-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: #a3e635;
  box-shadow: 0 0 8px rgba(163, 230, 53, 0.7);
}
.mc-gw-pp-dot.off {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.55);
}
.mc-gw-pp-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: #8fa0b8;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.mc-gw-pp-close:hover { color: #fff; border-color: #00f0ff; }
.mc-gw-pp-scroll {
  flex: 1;
  overflow: auto;
  padding: 12px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mc-gw-pp-card {
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 14px;
  background: rgba(5, 8, 22, 0.55);
  padding: 12px;
}
.mc-gw-pp-hero {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: start;
}
.mc-gw-pp-av {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #e9e4ff;
  background: linear-gradient(135deg, #1e1b4b, #a21caf 70%);
  border: 1px solid rgba(217, 70, 239, 0.45);
}
.mc-gw-pp-av.is-guest {
  background: rgba(100, 116, 139, 0.25);
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}
.mc-gw-pp-name { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.mc-gw-pp-handle { margin: 2px 0 0; color: #8fa0b8; font-size: 12px; }
.mc-gw-pp-meta { margin: 4px 0 0; color: #7f8aa8; font-size: 11px; line-height: 1.35; }
.mc-gw-pp-status {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: #a3e635;
  box-shadow: 0 0 8px rgba(163, 230, 53, 0.7);
}
.mc-gw-pp-status.off {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.55);
}
.mc-gw-pp-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.mc-gw-pp-metric {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}
.mc-gw-pp-metric:hover { border-color: rgba(0, 240, 255, 0.35); }
.mc-gw-pp-metric span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa0b8;
  margin-bottom: 4px;
}
.mc-gw-pp-metric strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.mc-gw-pp-metric--kr strong { color: #f5c15d; }
.mc-gw-pp-metric--eur strong { color: #00f0ff; }
.mc-gw-pp-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.mc-gw-pp-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.mc-gw-pp-tool--primary {
  color: #081018;
  background: linear-gradient(135deg, #00f0ff, #a855f7);
}
.mc-gw-pp-tool--ghost {
  color: #e8eef8;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
}
.mc-gw-pp-ref-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa0b8;
}
.mc-gw-pp-copy {
  appearance: none;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(0, 240, 255, 0.08);
  color: #00f0ff;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  cursor: pointer;
}
.mc-gw-pp-ref-code {
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
  color: #dffcff;
  letter-spacing: 0.04em;
}
.mc-gw-pp-url-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.mc-gw-pp-url-row input {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 10px;
  font-size: 11px;
  color: #8fa0b8;
}
.mc-gw-pp-url-row button {
  width: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.1);
  color: #00f0ff;
  cursor: pointer;
}
.mc-gw-pp-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa0b8;
  margin-bottom: 8px;
}
.mc-gw-pp-nav-title a {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8eef8;
  text-decoration: none;
}
.mc-gw-pp-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  color: #e8eef8;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 13px;
}
.mc-gw-pp-nav a:hover {
  background: rgba(0, 240, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.2);
}
.mc-gw-pp-nav .ico {
  width: 22px;
  text-align: center;
  color: #8fa0b8;
}
.mc-gw-pp-guest-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #8fa0b8;
  line-height: 1.4;
}
button.mc-gw-cta-top--profile,
button.mc-mobile-topbar-login {
  appearance: none;
  cursor: pointer;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0;
  margin: 0;
}
