.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 212, 138, 0.9);
  background: rgba(12, 16, 13, 0.78);
  color: #f3d48a;
  cursor: pointer;
}

.menu-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.menu-btn[aria-expanded="true"] {
  background: #f3d48a;
  color: #1a140c;
}

.festa-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.festa-tools .menu-btn { margin-left: 0; }

a.entrar-btn,
html.pagina .home-bar a.entrar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 212, 138, 0.9);
  background: rgba(12, 16, 13, 0.78);
  color: #f3d48a;
  text-decoration: none;
}

a.entrar-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-panel {
  position: absolute;
  top: calc(100% - 0.1rem);
  right: 0.7rem;
  z-index: 9;
  display: flex;
  flex-direction: column;
  min-width: 16rem;
  max-height: min(70vh, 36rem);
  overflow: auto;
  padding: 0.4rem;
  border: 1px solid rgba(240, 212, 138, 0.55);
  border-radius: 0.95rem;
  background: rgba(10, 14, 12, 0.97);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

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

.menu-panel a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding: 0.3rem 0.85rem 0.3rem 0.4rem;
  border-radius: 0.7rem;
  color: #f6efe2;
  text-decoration: none;
  font-family: "Cinzel", "Palatino Linotype", Palatino, serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.menu-panel a svg {
  width: 1.85rem;
  height: 1.85rem;
  flex: none;
  padding: 0.32rem;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 212, 138, 0.9);
  background: rgba(12, 16, 13, 0.78);
  color: #f3d48a;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-panel a.sub {
  min-height: 2.2rem;
  margin-left: 1.35rem;
  font-size: 0.78rem;
}

.menu-panel a:hover,
.menu-panel a[aria-current="page"] { background: rgba(240, 212, 138, 0.12); }

.menu-panel a[aria-current="page"] { color: #f3d48a; }
